Changeset View
Changeset View
Standalone View
Standalone View
head/stand/i386/gptzfsboot/Makefile
Show All 33 Lines | CFLAGS+=-DBOOTPROG=\"gptzfsboot\" \ | ||||
-I${SYSDIR}/cddl/boot/zfs \ | -I${SYSDIR}/cddl/boot/zfs \ | ||||
-I${BOOTSRC}/i386/btx/lib \ | -I${BOOTSRC}/i386/btx/lib \ | ||||
-I${BOOTSRC}/i386/boot2 \ | -I${BOOTSRC}/i386/boot2 \ | ||||
-Wall -Waggregate-return -Wbad-function-cast \ | -Wall -Waggregate-return -Wbad-function-cast \ | ||||
-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 -Wno-pointer-sign | -Winline -Wno-pointer-sign | ||||
NO_WCAST_ALIGN= | CFLAGS.clang+= -Wno-tentative-definition-incomplete-type | ||||
.if ${COMPILER_TYPE} == "clang" || \ | NO_WCAST_ALIGN= | ||||
(${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} > 40201) | |||||
CFLAGS+= -Wno-tentative-definition-incomplete-type | |||||
.endif | |||||
.if ${MACHINE} == "amd64" | .if ${MACHINE} == "amd64" | ||||
LIBZFSBOOT=${BOOTOBJ}/zfs32/libzfsboot.a | LIBZFSBOOT=${BOOTOBJ}/zfs32/libzfsboot.a | ||||
.else | .else | ||||
LIBZFSBOOT=${BOOTOBJ}/zfs/libzfsboot.a | LIBZFSBOOT=${BOOTOBJ}/zfs/libzfsboot.a | ||||
.endif | .endif | ||||
CFLAGS.gcc+= --param max-inline-insns-single=100 | CFLAGS.gcc+= --param max-inline-insns-single=100 | ||||
Show All 33 Lines |