summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.lib.mk
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2003-06-29 18:16:26 +0000
committergordon <gordon@FreeBSD.org>2003-06-29 18:16:26 +0000
commit040430fc2ed1d135a2c65f1768d48eb7e4df625a (patch)
tree094e9eb5f2301a5f163645cbc6e7ae318d13855e /share/mk/bsd.lib.mk
parent5d5a81b891bbce7b389083b2e91ebdfa4f0b4b7e (diff)
downloadFreeBSD-src-040430fc2ed1d135a2c65f1768d48eb7e4df625a.zip
FreeBSD-src-040430fc2ed1d135a2c65f1768d48eb7e4df625a.tar.gz
Add ${CRUNCH_CFLAGS} support for adding compile options to crunch
components. This is generally considered a non-optimal solution but it gets the job done for the /rescue case. Submitted by: Tim Kientzle <kientzle@acm.org>
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r--share/mk/bsd.lib.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index c9d80d2..83bdd46 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -21,6 +21,8 @@ SHLIB_LINK?= ${SHLIB_NAME:R}
SONAME?= ${SHLIB_NAME}
.endif
+CFLAGS+= ${CRUNCH_CFLAGS}
+
.if defined(DEBUG_FLAGS)
CFLAGS+= ${DEBUG_FLAGS}
.endif
OpenPOWER on IntegriCloud