summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index d85ac36..aef099e 100644
--- a/config.mk
+++ b/config.mk
@@ -131,6 +131,15 @@ else
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes
endif
+ifdef WILD_WILD_WEST
+CFLAGS := $(CPPFLAGS) -Werror
+endif
+
+ifdef NO_JUMP
+CFLAGS := $(CPPFLAGS) -fno-schedule-insns -fno-schedule-insns2
+endif
+
+
# avoid trigraph warnings while parsing pci.h (produced by NIOS gcc-2.9)
# this option have to be placed behind -Wall -- that's why it is here
ifeq ($(ARCH),nios)