[LLVMbugs] [Bug 22516] New: libc++ buildit script ignores CXX and CC

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 9 08:14:35 PST 2015


            Bug ID: 22516
           Summary: libc++ buildit script ignores CXX and CC
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: gonzalobg88 at gmail.com
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

Libc++ ignores CXX and CC if triple == apple.

See the following lines:

CXX=`xcrun -sdk "${SDKROOT}"  -find clang++`
CC=`xcrun -sdk "${SDKROOT}"  -find clang`

One could change them to something like:

if [ -z "$CXX" ]
  CXX=`xcrun -sdk "${SDKROOT}"  -find clang++`
if [ -z "$CC" ]
  CC=`xcrun -sdk "${SDKROOT}"  -find clang`

but feels like a hack.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150209/e0aa030a/attachment.html>

More information about the llvm-bugs mailing list