summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-12 18:11:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-12 18:11:57 +0000
commit1945a1194053bba93a0507f6e2aef4e333e265a5 (patch)
tree3c578c88dd8b35647a8f6e8b50e32ce3e25ea2c1
parent81e8c26bd392ddce8400631efba3c63231ec1dd7 (diff)
downloaddrakx-backup-do-not-use-1945a1194053bba93a0507f6e2aef4e333e265a5.tar
drakx-backup-do-not-use-1945a1194053bba93a0507f6e2aef4e333e265a5.tar.gz
drakx-backup-do-not-use-1945a1194053bba93a0507f6e2aef4e333e265a5.tar.bz2
drakx-backup-do-not-use-1945a1194053bba93a0507f6e2aef4e333e265a5.tar.xz
drakx-backup-do-not-use-1945a1194053bba93a0507f6e2aef4e333e265a5.zip
cleanup
-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