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:
parent
5d5a81b891
commit
040430fc2e
@ -21,6 +21,8 @@ SHLIB_LINK?= ${SHLIB_NAME:R}
|
||||
SONAME?= ${SHLIB_NAME}
|
||||
.endif
|
||||
|
||||
CFLAGS+= ${CRUNCH_CFLAGS}
|
||||
|
||||
.if defined(DEBUG_FLAGS)
|
||||
CFLAGS+= ${DEBUG_FLAGS}
|
||||
.endif
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user