Changeset View
Changeset View
Standalone View
Standalone View
stand/i386/boot2/Makefile
Show All 25 Lines | CFLAGS+=-fomit-frame-pointer \ | ||||
-D${BOOT2_UFS} \ | -D${BOOT2_UFS} \ | ||||
-DFLAGS=${BOOT_BOOT1_FLAGS} \ | -DFLAGS=${BOOT_BOOT1_FLAGS} \ | ||||
-DSIOPRT=${BOOT_COMCONSOLE_PORT} \ | -DSIOPRT=${BOOT_COMCONSOLE_PORT} \ | ||||
-DSIOFMT=${B2SIOFMT} \ | -DSIOFMT=${B2SIOFMT} \ | ||||
-DSIOSPD=${BOOT_COMCONSOLE_SPEED} \ | -DSIOSPD=${BOOT_COMCONSOLE_SPEED} \ | ||||
-I${LDRSRC} \ | -I${LDRSRC} \ | ||||
-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 | |||||
imp: Unconditional elimination is fine. We wanted this in yesteryear to help us understand bloat… | |||||
CFLAGS.gcc+= -Os \ | CFLAGS.gcc+= -Os \ | ||||
-fno-asynchronous-unwind-tables \ | -fno-asynchronous-unwind-tables \ | ||||
--param max-inline-insns-single=100 | --param max-inline-insns-single=100 | ||||
CFLAGS.clang+= -Oz ${CLANG_OPT_SMALL} | CFLAGS.clang+= -Oz ${CLANG_OPT_SMALL} | ||||
LD_FLAGS+=${LD_FLAGS_BIN} | LD_FLAGS+=${LD_FLAGS_BIN} | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |
Unconditional elimination is fine. We wanted this in yesteryear to help us understand bloat, but it's not been that helpful lately.