summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-21 14:54:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-21 14:54:28 +0000
commita5a820d8a55e44e29938a195e4a1a0da69800214 (patch)
tree293ca0a7f6dc510c5cc83e223ac3f3914c6c12f7
parentdec7a4d4bd3a0b56799e9068b8e093b76e9cbdec (diff)
from netbsd; 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}