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>
This commit is contained in:
gordon 2003-06-29 18:16:26 +00:00
parent 5d5a81b891
commit 040430fc2e
2 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,8 @@ SHLIB_LINK?= ${SHLIB_NAME:R}
SONAME?= ${SHLIB_NAME}
.endif
CFLAGS+= ${CRUNCH_CFLAGS}
.if defined(DEBUG_FLAGS)
CFLAGS+= ${DEBUG_FLAGS}
.endif

View File

@ -6,6 +6,7 @@
.SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .ln .s .S .asm
CFLAGS+=${COPTS} ${DEBUG_FLAGS}
CFLAGS+=${CRUNCH_CFLAGS}
.if !defined(DEBUG_FLAGS)
STRIP?= -s