diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2002-03-22 15:55:55 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2002-03-22 15:55:55 +0000 |
commit | d6528b2ca6217a1672c734772d79390b02652df9 (patch) | |
tree | b12cf7d3c8cf2230e8ce5a235b306220b1c14537 /gnu | |
parent | 4202aec9f4c7a04f46877a2707245f830aa01692 (diff) |
Pass INSTALL_STRIP in LDFLAGS. Allows debugging without tweaking the file.
Sync with /usr/share/mk: CXXOPTS.
noticed by mpech@
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/groff/Makefile.bsd-wrapper | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/usr.bin/groff/Makefile.bsd-wrapper b/gnu/usr.bin/groff/Makefile.bsd-wrapper index d38338a85ba..51b2cc68b0e 100644 --- a/gnu/usr.bin/groff/Makefile.bsd-wrapper +++ b/gnu/usr.bin/groff/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.16 2000/04/09 08:25:09 millert Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.17 2002/03/22 15:55:54 espie Exp $ # # groff config @@ -10,7 +10,7 @@ INDEXDIR= /usr/share/dict/papers COMMON_WORDS= /usr/share/dict/eign GNUCFLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" -GNUCXXFLAGS= CXX="${CXX}" CCFLAGS="${CXXFLAGS} ${COPTS}" +GNUCXXFLAGS= CXX="${CXX}" CCFLAGS="${CXXFLAGS} ${CXXOPTS}" CLEANFILES+= config.cache config.log pic/pic.cc eqn/eqn.cc \ refer/label.cc pic/pic.tab.h eqn/eqn.tab.h @@ -58,7 +58,8 @@ config.status: --mandir=${DATASUBDIR}/man ${CF} gnu_build: - ${MAKE} ${GNUCFLAGS} ${GNUCXXFLAGS} LDFLAGS="-s ${LDSTATIC}" \ + ${MAKE} ${GNUCFLAGS} ${GNUCXXFLAGS} \ + LDFLAGS="${INSTALL_STRIP} ${LDSTATIC}" \ prefix=${PREFIX} \ datasubdir=${DATASUBDIR} \ fontdir=${FONTDIR} \ |