summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/Makefile.common')
-rw-r--r--mdk-stage1/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/mdk-stage1/Makefile.common b/mdk-stage1/Makefile.common
index 58b43bcd7..b2ef073e2 100644
--- a/mdk-stage1/Makefile.common
+++ b/mdk-stage1/Makefile.common
@@ -29,11 +29,17 @@ F = NEWT
ifeq (ia64, $(ARCH))
L = GLIBC
endif
+ifeq (ppc, $(ARCH))
+L = GLIBC
+endif
#- flags used by all stuff
+ifeq (ppc, $(ARCH))
+CFLAGS = -Os -pipe -Wall -fomit-frame-pointer
+else
CFLAGS = -Os -pipe -Wall -Werror -fomit-frame-pointer
-
+endif
DIETLIBC_INCLUDES = -I$(top_dir)/dietlibc/include -I.
GLIBC_INCLUDES = -I.