diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-08-31 17:46:07 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-08-31 17:46:07 +0000 |
commit | 3bce8ec2b7e75b84281ce6ab421548e60e87d010 (patch) | |
tree | 1e48ef5a8cd741d18d56cf196969716cdb7a27e1 /lib/libcurses | |
parent | 8de80c67d0f54dc8f36ad93547129197b2447c6a (diff) |
use HOSTCC to compile helper programs
Diffstat (limited to 'lib/libcurses')
-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} |