From 1945a1194053bba93a0507f6e2aef4e333e265a5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 12 Nov 2004 18:11:57 +0000 Subject: cleanup --- mdk-stage1/Makefile.common | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'mdk-stage1/Makefile.common') 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 -- cgit v1.2.1