summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/Makefile.common
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2001-07-10 15:09:21 +0000
committerStew Benedict <stewb@mandriva.org>2001-07-10 15:09:21 +0000
commit9ed3b9267b8e550e959c7ef196dda82bc38d9531 (patch)
treeb219633ac5b1693f7afcb00f273f79e572880f75 /mdk-stage1/Makefile.common
parent07cd2d9012319aeb02a0a769bf9a951e5441a9a9 (diff)
downloaddrakx-9ed3b9267b8e550e959c7ef196dda82bc38d9531.tar
drakx-9ed3b9267b8e550e959c7ef196dda82bc38d9531.tar.gz
drakx-9ed3b9267b8e550e959c7ef196dda82bc38d9531.tar.bz2
drakx-9ed3b9267b8e550e959c7ef196dda82bc38d9531.tar.xz
drakx-9ed3b9267b8e550e959c7ef196dda82bc38d9531.zip
minor mods for PPC build, define TIOCSCTTY, Makefile mods
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.