mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fixed the buildworld breakage in cross-tools caused by
misuse of /usr/src/include headers. This REALLY fixes the 20010919 src/UPDATING entry. With this patch the 4.2-RELEASE box was able to survive the 5.0-CURRENT "make world". Beat over the head with this patch: obrien
This commit is contained in:
parent
bc58a19f1d
commit
946b7fa17e
1 changed files with 8 additions and 1 deletions
|
|
@ -9,9 +9,16 @@ SCRIPTDIR= /usr/libdata/ldscripts
|
|||
SRCS+= ldcref.c ldctor.c ldemul.c ldemul-list.h ldexp.c ldfile.c \
|
||||
ldgram.y ldlang.c ldlex.l ldmain.c ldmisc.c \
|
||||
ldver.c ldwrite.c lexsup.c mri.c
|
||||
|
||||
.if defined(BOOTSTRAPPING) && !exists(/usr/include/elf-hints.h)
|
||||
SRCS+= elf-hints.h
|
||||
CLEANFILES+= elf-hints.h
|
||||
elf-hints.h:
|
||||
ln -sf ${.CURDIR}/../../../../include/${.TARGET} .
|
||||
.endif
|
||||
|
||||
CFLAGS+= -DSCRIPTDIR=\"${DESTDIR}/usr/libdata\"
|
||||
CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd
|
||||
CFLAGS+= -I${.CURDIR}/../../../../include
|
||||
CFLAGS+= -DVERSION=\"${VERSION}\" -DBFD_VERSION=\"${VERSION}\"
|
||||
NOSHARED?= yes
|
||||
DPADD= ${RELTOP}/libbfd/libbfd.a
|
||||
|
|
|
|||
Loading…
Reference in a new issue