Add a hack for VAX ELF: compile with -O1
This commit is contained in:
parent
70ea971e1f
commit
2374dc24ce
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.13 2002/03/28 09:58:10 jmc Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2002/03/30 22:31:13 matt Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -18,6 +18,10 @@ CPPFLAGS+= -DHAVE_CONFIG_H -DDEFPATH=\".:/usr/share/awk\" \
|
||||
LDADD= -lm
|
||||
CLEANFILES+= ${PROG}.1 ${PROG}.texi
|
||||
|
||||
.if ${MACHINE_ARCH} == "vax" && ${OBJECT_FMT} == "ELF"
|
||||
COPTS+= -O1
|
||||
.endif
|
||||
|
||||
${PROG}.1: gawk.1
|
||||
@-rm -f $@
|
||||
cp $> $@
|
||||
|
Loading…
Reference in New Issue
Block a user