Changeset View
Changeset View
Standalone View
Standalone View
share/mk/bsd.prog.mk
Show All 33 Lines | |||||
MK_DEBUG_FILES= no | MK_DEBUG_FILES= no | ||||
.endif | .endif | ||||
.if defined(CRUNCH_CFLAGS) | .if defined(CRUNCH_CFLAGS) | ||||
CFLAGS+=${CRUNCH_CFLAGS} | CFLAGS+=${CRUNCH_CFLAGS} | ||||
.else | .else | ||||
.if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \ | .if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \ | ||||
empty(DEBUG_FLAGS:M-gdwarf-*) | empty(DEBUG_FLAGS:M-gdwarf-*) | ||||
CFLAGS+= -g | CFLAGS+= ${DEBUG_FILES_CFLAGS} | ||||
CTFFLAGS+= -g | CTFFLAGS+= -g | ||||
.endif | .endif | ||||
jhb: So changing this made no difference. I guess the CXXFLAGS ?= assignment in sys.mk makes this… | |||||
.endif | .endif | ||||
.if !defined(DEBUG_FLAGS) | .if !defined(DEBUG_FLAGS) | ||||
STRIP?= -s | STRIP?= -s | ||||
.endif | .endif | ||||
.if defined(NO_ROOT) | .if defined(NO_ROOT) | ||||
.if !defined(TAGS) || ! ${TAGS:Mpackage=*} | .if !defined(TAGS) || ! ${TAGS:Mpackage=*} | ||||
▲ Show 20 Lines • Show All 259 Lines • Show Last 20 Lines |
So changing this made no difference. I guess the CXXFLAGS ?= assignment in sys.mk makes this work otherwise. That is somewhat confusing compared to bsd.lib.mk, but ok.