summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/Makefile.common9
1 files changed, 4 insertions, 5 deletions
diff --git a/mdk-stage1/Makefile.common b/mdk-stage1/Makefile.common
index 3a6d4eb92..6a48452ed 100644
--- a/mdk-stage1/Makefile.common
+++ b/mdk-stage1/Makefile.common
@@ -34,12 +34,11 @@ ifeq (DIETLIBC, $(L))
DIET = $(top_dir)/dietlibc/bin-$(ARCH)/diet
endif
-
- #- flags used by all stuff
-ifeq (ppc, $(ARCH))
+#- flags used by all stuff
CFLAGS = -Os -pipe -Wall -fomit-frame-pointer -fno-strict-aliasing
-else
-CFLAGS = -Os -pipe -Wall -Werror -fomit-frame-pointer -fno-strict-aliasing
+
+ifneq (ppc, $(ARCH))
+CFLAGS += -Werror
endif
DIETLIBC_INCLUDES = -I$(top_dir)/dietlibc/include -I. -I$(top_dir)/bzlib