Add -I${DESTDIR}/usr/include before -I${SRCDIR}/include to pick right
getopt.h (as workaround until it will be removed from contrib)
This commit is contained in:
parent
edf075d085
commit
44fc52d2ac
@ -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})
|
||||
|
Loading…
x
Reference in New Issue
Block a user