diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2000-10-16 21:25:24 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2000-10-16 21:25:24 +0000 |
commit | bbd7d049393f1882f1d69bea682bd7f7d712e6a9 (patch) | |
tree | 0bb21bf98bc800eb2094bec4a79cd99748cbc500 | |
parent | 0aba62f73cc7d3eda21de912a084a235451988f1 (diff) |
respect CC.
-rw-r--r-- | usr.sbin/httpd/Makefile.bsd-wrapper | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/httpd/Makefile.bsd-wrapper b/usr.sbin/httpd/Makefile.bsd-wrapper index 3896b16ea5e..bdf89e339aa 100644 --- a/usr.sbin/httpd/Makefile.bsd-wrapper +++ b/usr.sbin/httpd/Makefile.bsd-wrapper @@ -1,5 +1,5 @@ # Build wrapper for Apache -# $OpenBSD: Makefile.bsd-wrapper,v 1.14 2000/07/07 18:53:02 deraadt Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.15 2000/10/16 21:25:23 brad Exp $ # Our lndir is hacked; specify a full path to avoid potential conflicts # with the one installed with X11. @@ -441,7 +441,8 @@ all: prereq prereq: ${.OBJDIR}/config.status ${.OBJDIR}/config.status : ${.OBJDIR}/config.layout - cd ${.OBJDIR} && OPTIM="${CFLAGS}" sh configure ${CONFIG_ARGS} + cd ${.OBJDIR} && CC="${CC}" LD_SHLIB="${CC}" OPTIM="${CFLAGS}" \ + sh configure ${CONFIG_ARGS} .if !exists(${.OBJDIR}/config.layout) ${.OBJDIR}/config.layout: ${.CURDIR}/config.layout |