aboutsummaryrefslogtreecommitdiffstats
path: root/mk/syslinux.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/syslinux.mk')
-rw-r--r--mk/syslinux.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/syslinux.mk b/mk/syslinux.mk
index 46355c9e..d4a2e079 100644
--- a/mk/syslinux.mk
+++ b/mk/syslinux.mk
@@ -79,7 +79,8 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
ARCH ?= $(strip $(SUBARCH))
# Common warnings we want for all gcc-generated code
-GCCWARN = -W -Wall -Wstrict-prototypes $(DEBUGOPT)
+# WARNOPT is available for the user to specify additional warning flags
+GCCWARN = -W -Wall -Wstrict-prototypes $(DEBUGOPT) $(WARNOPT)
# Common stanza to make gcc generate .*.d dependency files
MAKEDEPS = -MT $@ -MD -MF $(dir $@).$(notdir $@).d