diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index c9d80d20c488..83bdd46408c9 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 diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index d012bb3d226b..43bb9e8e2c47 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -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