Changeset View
Changeset View
Standalone View
Standalone View
share/mk/bsd.prog.mk
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | |||||
.if ${COMPILER_FEATURES:Minit-all} | .if ${COMPILER_FEATURES:Minit-all} | ||||
CFLAGS+= -ftrivial-auto-var-init=pattern | CFLAGS+= -ftrivial-auto-var-init=pattern | ||||
CXXFLAGS+= -ftrivial-auto-var-init=pattern | CXXFLAGS+= -ftrivial-auto-var-init=pattern | ||||
.else | .else | ||||
.warning InitAll (pattern) requested but not support by compiler | .warning InitAll (pattern) requested but not support by compiler | ||||
.endif | .endif | ||||
.endif | .endif | ||||
.include "bsd.sanitizer.mk" | |||||
.if ${MACHINE_CPUARCH} == "riscv" && ${LINKER_FEATURES:Mriscv-relaxations} == "" | .if ${MACHINE_CPUARCH} == "riscv" && ${LINKER_FEATURES:Mriscv-relaxations} == "" | ||||
CFLAGS += -mno-relax | CFLAGS += -mno-relax | ||||
.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) && \ | ||||
▲ Show 20 Lines • Show All 285 Lines • Show Last 20 Lines |