svn commit: r207961 - projects/clangbsd
Roman Divacky
rdivacky at FreeBSD.org
Wed May 12 12:52:39 UTC 2010
Author: rdivacky
Date: Wed May 12 12:52:39 2010
New Revision: 207961
URL: http://svn.freebsd.org/changeset/base/207961
Log:
Switch to using -isysroot instead of listing all the (possible)
include paths with -isystem.
Suggested by: ed
Modified:
projects/clangbsd/Makefile.inc1
Modified: projects/clangbsd/Makefile.inc1
==============================================================================
--- projects/clangbsd/Makefile.inc1 Wed May 12 12:49:31 2010 (r207960)
+++ projects/clangbsd/Makefile.inc1 Wed May 12 12:52:39 2010 (r207961)
@@ -252,17 +252,14 @@ XMAKE= TOOLS_PREFIX=${WORLDTMP} ${BMAKE
TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
-DWITHOUT_GDB
-CCMMINTRIN_CLANG= `env PATH=${TMPPATH} ${CC} --version | grep -Fq clang && echo -isystem ${WORLDTMP}/usr/include/clang/1.5`
-CXXMMINTRIN_CLANG= `env PATH=${TMPPATH} ${CXX} --version | grep -Fq clang && echo -isystem ${WORLDTMP}/usr/include/clang/1.5`
-
# world stage
WMAKEENV= ${CROSSENV} \
_SHLIBDIRPREFIX=${WORLDTMP} \
VERSION="${VERSION}" \
INSTALL="sh ${.CURDIR}/tools/install.sh" \
PATH=${TMPPATH} \
- CC="${CC} ${CCMMINTRIN_CLANG} -isystem ${WORLDTMP}/usr/include -B${WORLDTMP}/usr/lib/ -L${WORLDTMP}/usr/lib/" \
- CXX="${CXX} ${CXXMMINTRIN_CLANG} -isystem ${WORLDTMP}/usr/include -isystem ${WORLDTMP}/include/c++/4.2 -isystem ${WORLDTMP}/include/c++/4.2/backward -B${WORLDTMP}/usr/lib/ -L${WORLDTMP}/usr/lib/"
+ CC="${CC} -isysroot ${WORLDTMP} -B${WORLDTMP}/usr/lib/ -L${WORLDTMP}/usr/lib/" \
+ CXX="${CXX} -isysroot ${WORLDTMP} -B${WORLDTMP}/usr/lib/ -L${WORLDTMP}/usr/lib/"
.if ${MK_CDDL} == "no" || defined(NO_CTF)
WMAKEENV+= NO_CTF=1
More information about the svn-src-projects
mailing list