Replace -iprefix with -isystem. We only need alternative header

files search path and thus -isystem is sufficient. -iprefix is
meant to do something entirely different.

Approved by:	ed (mentor)
OKed by:	ru, kan
Tested by:	make universe
This commit is contained in:
Roman Divacky 2009-11-01 08:20:30 +00:00
parent 8d077f48f0
commit 98c98d78d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=198741

View File

@ -272,7 +272,7 @@ LIB32CPUFLAGS= -march=i686 -mmmx -msse -msse2
LIB32CPUFLAGS= -march=${TARGET_CPUTYPE}
.endif
LIB32FLAGS= -m32 ${LIB32CPUFLAGS} -mfancy-math-387 -DCOMPAT_32BIT \
-iprefix ${LIB32TMP}/usr/ \
-isystem ${LIB32TMP}/usr/include/ \
-L${LIB32TMP}/usr/lib32 \
-B${LIB32TMP}/usr/lib32