Skip to content

Commit

Permalink
Removed unnecessary include-paths for libc++
Browse files Browse the repository at this point in the history
  • Loading branch information
alfreb committed May 22, 2016
1 parent b7587f8 commit b90689c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions etc/build_llvm32.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ echo "LLVM CMake Build options:" $OPTS
# 1. IncludeOS_sys has to come first, as it provides lots of C11 prototypes that libc++ relies on, but which newlib does not provide (see our math.h)
# 2. libcxx_inc must come before newlib, due to math.h function wrappers around C99 macros (signbit, nan etc)
# 3. newlib_inc provodes standard C headers
# 4. IncludeOS/api provides sys-specific paths such as "sys/time.h"
# 5.
cmake -GNinja $OPTS -DCMAKE_CXX_FLAGS="-std=c++11 $llvm_src_verbose -I$IncludeOS_sys -I$libcxx_inc -I$newlib_inc -I$INCLUDEOS_SRC/api -I$INCLUDEOS_SRC/src/include/ -I$INCLUDEOS_SRC/stdlib/support/newlib/ " $BUILD_DIR/$llvm_src
cmake -GNinja $OPTS -DCMAKE_CXX_FLAGS="-std=c++11 $llvm_src_verbose -I$IncludeOS_sys -I$libcxx_inc -I$newlib_inc" $BUILD_DIR/$llvm_src


#
Expand Down

0 comments on commit b90689c

Please sign in to comment.