Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/i386/boot2/Makefile
Show All 32 Lines | CFLAGS= -fomit-frame-pointer \ | ||||
-DSIOSPD=${BOOT_COMCONSOLE_SPEED} \ | -DSIOSPD=${BOOT_COMCONSOLE_SPEED} \ | ||||
-I${.CURDIR}/../../common \ | -I${.CURDIR}/../../common \ | ||||
-I${.CURDIR}/../btx/lib -I. \ | -I${.CURDIR}/../btx/lib -I. \ | ||||
-Wall -Waggregate-return -Wbad-function-cast -Wno-cast-align \ | -Wall -Waggregate-return -Wbad-function-cast -Wno-cast-align \ | ||||
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \ | -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \ | ||||
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \ | -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \ | ||||
-Winline | -Winline | ||||
CFLAGS.gcc+= -Os \ | CFLAGS.gcc+= \ | ||||
-fno-guess-branch-probability \ | -fno-guess-branch-probability \ | ||||
-fno-unit-at-a-time \ | -fno-unit-at-a-time \ | ||||
--param max-inline-insns-single=100 | --param max-inline-insns-single=100 | ||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} <= 40201 | .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} <= 40201 | ||||
CFLAGS.gcc+= -mno-align-long-strings | CFLAGS.gcc+= -mno-align-long-strings | ||||
.endif | .endif | ||||
CFLAGS.clang+= -Oz ${CLANG_OPT_SMALL} | CFLAGS.clang+= -Oz ${CLANG_OPT_SMALL} | ||||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |