summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/bc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-02-03 23:31:16 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-02-03 23:31:16 +0000
commit2799dab8ebd0988d48ac90e348ef7621dc949b37 (patch)
treed452bd29e3333963080ebb5407cce62218294b32 /gnu/usr.bin/bc
parentb7fcbb46e91d510278503e785d9a9043f82edc53 (diff)
Honor ${CC} and ${COPTS}; wd@ics.nara-wu.ac.jp
Diffstat (limited to 'gnu/usr.bin/bc')
-rw-r--r--gnu/usr.bin/bc/Makefile.bsd-wrapper8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/bc/Makefile.bsd-wrapper b/gnu/usr.bin/bc/Makefile.bsd-wrapper
index 02898a9d201..83d5213cfc4 100644
--- a/gnu/usr.bin/bc/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/bc/Makefile.bsd-wrapper
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.6 1998/10/18 20:02:28 millert Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.7 1999/02/03 23:31:15 millert Exp $
SUBDIR=bcwrap
MAN= doc/bc.1 doc/dc.1
LDFLAGS+= -s ${LDSTATIC}
-GNUCFLAGS= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+GNUCFLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS="${LDFLAGS}"
all: config.status
${MAKE} ${GNUCFLAGS}
@@ -26,13 +26,13 @@ config: .FORCE
.endif
PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
- CFLAGS="${CFLAGS}" \
+ ${GNUCFLAGS} \
sh ${.CURDIR}/configure --prefix=${PREFIX}/usr --infodir=${PREFIX}/usr/share/info ${CF}
config.status:
PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
- CFLAGS="${CFLAGS}" \
+ ${GNUCFLAGS} \
sh ${.CURDIR}/configure --prefix=${PREFIX}/usr --infodir=${PREFIX}/usr/share/info ${CF}
.ifdef NOMAN