When bootstrapping (build-tools and cross-tools), avoid
including the ${WORLDTMP}/usr/include headers that may not match the installed host libraries. This should fix the 20010919 UPDATING entry.
This commit is contained in:
parent
6137f71e4c
commit
a9fda56886
@ -37,7 +37,7 @@ SHLIB_NAME?= lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(DESTDIR)
|
||||
.if defined(DESTDIR) && !defined(BOOTSTRAPPING)
|
||||
CFLAGS+= -I${DESTDIR}/usr/include
|
||||
CXXINCLUDES+= -I${DESTDIR}/usr/include/g++
|
||||
.endif
|
||||
|
@ -11,7 +11,7 @@ __initialized__:
|
||||
.SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .s .S
|
||||
|
||||
CFLAGS+=${COPTS} ${DEBUG_FLAGS}
|
||||
.if defined(DESTDIR)
|
||||
.if defined(DESTDIR) && !defined(BOOTSTRAPPING)
|
||||
CFLAGS+= -I${DESTDIR}/usr/include
|
||||
CXXINCLUDES+= -I${DESTDIR}/usr/include/g++
|
||||
.endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user