Changeset View
Changeset View
Standalone View
Standalone View
tools/build/mk/Makefile.boot
# $FreeBSD$ | # $FreeBSD$ | ||||
CFLAGS+= -I${WORLDTMP}/legacy/usr/include | CFLAGS+= -isystem ${WORLDTMP}/legacy/usr/include | ||||
sjg: FWIW we cuddle the arg up to `-isystem` so that Makefiles that have a need can use `:N… | |||||
DPADD+= ${WORLDTMP}/legacy/usr/lib/libegacy.a | DPADD+= ${WORLDTMP}/legacy/usr/lib/libegacy.a | ||||
LDADD+= -legacy | LDADD+= -legacy | ||||
LDFLAGS+= -L${WORLDTMP}/legacy/usr/lib | LDFLAGS+= -L${WORLDTMP}/legacy/usr/lib | ||||
.if ${.MAKE.OS} != "FreeBSD" | .if ${.MAKE.OS} != "FreeBSD" | ||||
# On MacOS using a non-mac ar will fail the build, similarly on Linux using | # On MacOS using a non-mac ar will fail the build, similarly on Linux using | ||||
# nm may not work as expected if the nm for the target architecture comes in | # nm may not work as expected if the nm for the target architecture comes in | ||||
# $PATH before a nm that supports the host architecture. | # $PATH before a nm that supports the host architecture. | ||||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |
FWIW we cuddle the arg up to -isystem so that Makefiles that have a need can use :N-isystem*