Changeset View
Changeset View
Standalone View
Standalone View
sys/conf/kern.pre.mk
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
CFLAGS.gcc+= -fno-common -fms-extensions -finline-limit=${INLINE_LIMIT} | CFLAGS.gcc+= -fno-common -fms-extensions -finline-limit=${INLINE_LIMIT} | ||||
CFLAGS.gcc+= --param inline-unit-growth=${CFLAGS_PARAM_INLINE_UNIT_GROWTH} | CFLAGS.gcc+= --param inline-unit-growth=${CFLAGS_PARAM_INLINE_UNIT_GROWTH} | ||||
CFLAGS.gcc+= --param large-function-growth=${CFLAGS_PARAM_LARGE_FUNCTION_GROWTH} | CFLAGS.gcc+= --param large-function-growth=${CFLAGS_PARAM_LARGE_FUNCTION_GROWTH} | ||||
CFLAGS.gcc+= -fms-extensions | CFLAGS.gcc+= -fms-extensions | ||||
.if defined(CFLAGS_ARCH_PARAMS) | .if defined(CFLAGS_ARCH_PARAMS) | ||||
CFLAGS.gcc+=${CFLAGS_ARCH_PARAMS} | CFLAGS.gcc+=${CFLAGS_ARCH_PARAMS} | ||||
.endif | .endif | ||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} < 50000) | |||||
imp: here and below need to kill trailing ). | |||||
WERROR?= -Wno-error | |||||
impAuthorUnsubmitted Done Inline Actionsconvention says there should be a tab here (and below) will do (from allanjude) imp: convention says there should be a tab here (and below) will do (from allanjude) | |||||
.else | |||||
WERROR?= -Werror | WERROR?= -Werror | ||||
.endif | |||||
# XXX LOCORE means "don't declare C stuff" not "for locore.s". | # XXX LOCORE means "don't declare C stuff" not "for locore.s". | ||||
ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS} ${ASM_CFLAGS.${.IMPSRC:T}} | ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS} ${ASM_CFLAGS.${.IMPSRC:T}} | ||||
.if defined(PROFLEVEL) && ${PROFLEVEL} >= 1 | .if defined(PROFLEVEL) && ${PROFLEVEL} >= 1 | ||||
CFLAGS+= -DGPROF | CFLAGS+= -DGPROF | ||||
CFLAGS.gcc+= -falign-functions=16 | CFLAGS.gcc+= -falign-functions=16 | ||||
.if ${PROFLEVEL} >= 2 | .if ${PROFLEVEL} >= 2 | ||||
▲ Show 20 Lines • Show All 224 Lines • Show Last 20 Lines |
here and below need to kill trailing ).