aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2014-02-16 03:18:01 +0800
committergerald <gerald@FreeBSD.org>2014-02-16 03:18:01 +0800
commit861d8ee0a3156e5dad513ca34d3073f10ac4a79f (patch)
tree255d11c11b52b9e0813389765d2ca2286ac06498 /lang
parent778cdb0604d7be21ff9e11560edd91cac5f463bb (diff)
downloadfreebsd-ports-graphics-861d8ee0a3156e5dad513ca34d3073f10ac4a79f.tar.gz
freebsd-ports-graphics-861d8ee0a3156e5dad513ca34d3073f10ac4a79f.tar.zst
freebsd-ports-graphics-861d8ee0a3156e5dad513ca34d3073f10ac4a79f.zip
No longer add -I${LOCALBASE}/include to CFLAGS.
Since we now configure with --with-gmp=${LOCALBASE} this is no longer necessary, and due to bugs in binutils (which should not install ansidecl.h into ${PREFIX}/include, fixed with revision 336642 [1]) and GCC (which should search its own include directories with higher priority) could lead to build failures. PR: 184327 [1]
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index bed7e94bde3..d539c3a06ac 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -58,7 +58,6 @@ WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc${SUFFIX}
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
GNU_CONFIGURE= yes
-CFLAGS+= -I${LOCALBASE}/include
.if empty(PORT_OPTIONS:MBOOTSTRAP)
CONFIGURE_ARGS+=--disable-bootstrap
.else