From c73151565eda0b1769c0bde687d40fe3f6594e70 Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 4 Mar 2004 20:36:18 +0000 Subject: [PATCH] Add -I${DESTDIR}/usr/include before -I${SRCDIR}/include to pick right getopt.h (as workaround until it will be removed from contrib) --- gnu/usr.bin/binutils/Makefile.inc0 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/usr.bin/binutils/Makefile.inc0 b/gnu/usr.bin/binutils/Makefile.inc0 index 4d3d6130f2c4..b778b096535f 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})