summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2004-03-04 20:36:18 +0000
committerache <ache@FreeBSD.org>2004-03-04 20:36:18 +0000
commitc73151565eda0b1769c0bde687d40fe3f6594e70 (patch)
tree593cb8434b5023ec639b7401e3dfbcb78091d4d9
parentafe5d995f8b97e2677034ab411706708f36e2708 (diff)
downloadFreeBSD-src-c73151565eda0b1769c0bde687d40fe3f6594e70.zip
FreeBSD-src-c73151565eda0b1769c0bde687d40fe3f6594e70.tar.gz
Add -I${DESTDIR}/usr/include before -I${SRCDIR}/include to pick right
getopt.h (as workaround until it will be removed from contrib)
-rw-r--r--gnu/usr.bin/binutils/Makefile.inc02
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.inc0 b/gnu/usr.bin/binutils/Makefile.inc0
index 4d3d613..b778b09 100644
--- a/gnu/usr.bin/binutils/Makefile.inc0
+++ b/gnu/usr.bin/binutils/Makefile.inc0
@@ -24,6 +24,8 @@ CFLAGS+= -I${.CURDIR}/${TARGET_ARCH}
.endif
CFLAGS+= -I${.CURDIR}
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbfd/${TARGET_ARCH}
+# to pick right getopt.h
+CFLAGS+= -I${DESTDIR}/usr/include
CFLAGS+= -I${SRCDIR}/include
.if exists(${.CURDIR}/${TARGET_ARCH})
OpenPOWER on IntegriCloud