diff options
author | 1998-08-31 17:46:06 +0000 | |
---|---|---|
committer | 1998-08-31 17:46:06 +0000 | |
commit | fa3518d8c2eb0ea321e762d6b5bd27361cdc129d (patch) | |
tree | 0303b87077ae7320c412ee8006764f2be5773a67 | |
parent | Return ENXIO on open of /dev/mem minor devs that don't exist (diff) | |
download | wireguard-openbsd-fa3518d8c2eb0ea321e762d6b5bd27361cdc129d.tar.xz wireguard-openbsd-fa3518d8c2eb0ea321e762d6b5bd27361cdc129d.zip |
use HOSTCC to compile helper programs
-rw-r--r-- | lib/libcurses/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses/Makefile b/lib/libcurses/Makefile index 99f1a45151d..9079fc69387 100644 --- a/lib/libcurses/Makefile +++ b/lib/libcurses/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.26 1998/08/29 21:12:07 deraadt Exp $ +# $OpenBSD: Makefile,v 1.27 1998/08/31 17:46:06 mickey Exp $ # Uncomment this to enable tracing in libcurses #CURSESTRACE=-DTRACE @@ -178,10 +178,10 @@ keys.tries: make_keys ${.CURDIR}/keys.list ./make_keys ${.CURDIR}/keys.list > ${.TARGET} make_keys: ${.CURDIR}/make_keys.c names.c - ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.CURDIR}/make_keys.c ${LDADD} + ${HOSTCC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.CURDIR}/make_keys.c ${LDADD} make_hash: ${.CURDIR}/comp_hash.c ${.CURDIR}/hashsize.h - ${CC} ${CFLAGS} -DMAIN_PROGRAM ${LDFLAGS} -o ${.TARGET} ${.CURDIR}/comp_hash.c ${LDADD} + ${HOSTCC} ${CFLAGS} -DMAIN_PROGRAM ${LDFLAGS} -o ${.TARGET} ${.CURDIR}/comp_hash.c ${LDADD} expanded.c: ${.CURDIR}/term.h ${.CURDIR}/curses.priv.h ${.CURDIR}/MKexpanded.sh sh ${.CURDIR}/MKexpanded.sh "${CPP}" ${CPPFLAGS} |