diff --git a/usr/src/boot/Makefile.inc b/usr/src/boot/Makefile.inc index e522fa025020..ce2e04b8b384 100644 --- a/usr/src/boot/Makefile.inc +++ b/usr/src/boot/Makefile.inc @@ -50,7 +50,7 @@ CFLAGS += -_gcc=-ffunction-sections -_gcc=-fdata-sections CFLAGS += -_gcc=-mno-mmx -_gcc=-mno-3dnow -_gcc=-mno-sse -_gcc=-mno-sse2 CFLAGS += -_gcc=-mno-sse3 -_gcc=-msoft-float CFLAGS += -_gcc=-mno-avx -_gcc=-mno-aes -CFLAGS += -_gcc=-Wall +CFLAGS += -_gcc=-Wall -_gcc=-Werror CFLAGS += $(CCNOAUTOINLINE) $(CCNOREORDER) $(CSTD_GNU99) CFLAGS += $(CSOURCEDEBUGFLAGS) CCASFLAGS= -Wa,--divide