mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
We need an extra -I from lib/msun
and we need to supress dependency on it - cyclic.
This commit is contained in:
parent
c8191bc69e
commit
aab5fee072
1 changed files with 9 additions and 1 deletions
|
|
@ -158,7 +158,15 @@ CFLAGS+= -I${.CURDIR:H}/libutil
|
|||
# Same issue with libm
|
||||
MSUN_ARCH_SUBDIR != ${MAKE} -B -C ${.CURDIR:H}/msun -V ARCH_SUBDIR
|
||||
# unfortunately msun/src contains both private and public headers
|
||||
CFLAGS+= -I${.CURDIR:H}/msun/${MSUN_ARCH_SUBDIR} -I${.CURDIR:H}/msun/src
|
||||
CFLAGS+= -I${.CURDIR:H}/msun/${MSUN_ARCH_SUBDIR}
|
||||
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
|
||||
CFLAGS+= -I${.CURDIR:H}/msun/x86
|
||||
.endif
|
||||
CFLAGS+= -I${.CURDIR:H}/msun/src
|
||||
# and we do not want to record a dependency on msun
|
||||
.if ${.MAKE.LEVEL} > 0
|
||||
GENDIRDEPS_FILTER+= N${RELDIR:H}/msun
|
||||
.endif
|
||||
.endif
|
||||
|
||||
# Disable warnings in contributed sources.
|
||||
|
|
|
|||
Loading…
Reference in a new issue