summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-12-20 12:36:56 +0000
committercgd <cgd@NetBSD.org>1995-12-20 12:36:56 +0000
commit3601644b3ce2c19e62f9d9f83ae3150f4bbcb693 (patch)
tree693e28af322cd339bb67942d90684b4221ecbe88
parentdfa3894a18380044785e0e4b9bc0a391200cb1c3 (diff)
limit the flags that get passed to cpp
-rw-r--r--lib/csu/alpha/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/alpha/Makefile b/lib/csu/alpha/Makefile
index 367fec60082..b960baf9bf7 100644
--- a/lib/csu/alpha/Makefile
+++ b/lib/csu/alpha/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1995/12/12 01:53:50 cgd Exp $
+# $NetBSD: Makefile,v 1.3 1995/12/20 12:36:56 cgd Exp $
CFLAGS+= -DLIBC_SCCS
OBJS= crt0.o gcrt0.o
@@ -7,12 +7,12 @@ CLEANFILES+= core a.out
all: ${OBJS}
crt0.o: crt0.s
- ${CPP} -DCRT0 ${CFLAGS} ${.ALLSRC} | ${AS} -o $@
+ ${CPP} -DCRT0 ${CFLAGS:M-[ID]*} ${.ALLSRC} | ${AS} -o $@
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
gcrt0.o: crt0.s
- ${CPP} -DMCRT0 ${CFLAGS} ${.ALLSRC} | ${AS} -o $@
+ ${CPP} -DMCRT0 ${CFLAGS:M-[ID]*} ${.ALLSRC} | ${AS} -o $@
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}