summaryrefslogtreecommitdiff
path: root/gnu/lib
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1993-06-02 15:10:35 +0000
committercgd <cgd@NetBSD.org>1993-06-02 15:10:35 +0000
commit170dba4cfcb4299dcfb6eaf6d2ae90db895c3d9c (patch)
treeae7253d53306a3581f4053bd2ccab156f0184171 /gnu/lib
parentef3308e9030c8fcc8bc762bce7370e643a97baf7 (diff)
add "-+" to cflags only if doing make depend
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libg++/libg++/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/lib/libg++/libg++/Makefile b/gnu/lib/libg++/libg++/Makefile
index 35a3ca3273b..dcf181b46e7 100644
--- a/gnu/lib/libg++/libg++/Makefile
+++ b/gnu/lib/libg++/libg++/Makefile
@@ -7,7 +7,10 @@
.SUFFIXES:
.SUFFIXES: .out .o .po .s .c .f .y .cc .l .8 .7 .6 .5 .4 .3 .2 .1 .0
-CFLAGS+=-I$(.CURDIR)/../g++-include -+
+CFLAGS+=-I$(.CURDIR)/../g++-include
+.ifmake (depend)
+CFLAGS+=-+
+.endif
GXX= g++
GXXFLAGS= ${CFLAGS} -felide-constructors
LDXX= /usr/libexec/ld++