diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2007-03-18 15:37:07 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2007-03-18 15:37:07 +0000 |
commit | 4e690646a79464178bbb3367c068ce4230d0303d (patch) | |
tree | a44bd1222184dd4f856f4b4270cf9819f157d102 /usr.bin/awk/Makefile | |
parent | 8b8ddeb427826bd368aaf021c710bfd7a3408f46 (diff) |
allow this to build w/ cross-tools thru providing proper hostcflags; found by rainor's work
Diffstat (limited to 'usr.bin/awk/Makefile')
-rw-r--r-- | usr.bin/awk/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile index 92220707a06..89982e96190 100644 --- a/usr.bin/awk/Makefile +++ b/usr.bin/awk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2004/12/30 01:52:48 millert Exp $ +# $OpenBSD: Makefile,v 1.8 2007/03/18 15:37:06 mickey Exp $ PROG= awk LINKS= ${BINDIR}/awk ${BINDIR}/nawk @@ -7,6 +7,7 @@ LDADD= -lm DPADD= ${LIBM} CLEANFILES+=proctab.c maketab ytab.c ytab.h CFLAGS+=-I. -I${.CURDIR} -DHAS_ISBLANK -DNDEBUG +HOSTCFLAGS+=-I. -I${.CURDIR} -DHAS_ISBLANK -DNDEBUG MLINKS= awk.1 nawk.1 # This just gets installed verbatim @@ -23,6 +24,6 @@ proctab.c: maketab ./maketab >proctab.c maketab: ytab.h maketab.c - ${HOSTCC} ${CFLAGS} ${.CURDIR}/maketab.c -o $@ + ${HOSTCC} ${HOSTCFLAGS} ${.CURDIR}/maketab.c -o $@ .include <bsd.prog.mk> |