summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/Makefile.common
diff options
context:
space:
mode:
authorMatthias Badaire <mbadaire@mandriva.com>2001-05-30 14:31:23 +0000
committerMatthias Badaire <mbadaire@mandriva.com>2001-05-30 14:31:23 +0000
commit0879c2dadfe9f6998bdcddf837918ed8617d17b4 (patch)
tree29d89b91ab9935e390efcf1739a7867b8ea2d8c3 /mdk-stage1/Makefile.common
parentd8b95b8592b512c3bc036cb2df9745e39104490d (diff)
downloaddrakx-0879c2dadfe9f6998bdcddf837918ed8617d17b4.tar
drakx-0879c2dadfe9f6998bdcddf837918ed8617d17b4.tar.gz
drakx-0879c2dadfe9f6998bdcddf837918ed8617d17b4.tar.bz2
drakx-0879c2dadfe9f6998bdcddf837918ed8617d17b4.tar.xz
drakx-0879c2dadfe9f6998bdcddf837918ed8617d17b4.zip
- allow build on ia64
- have CFLAGS centralized in Makefile.common (should help ports such as alpha) - better looking sub makefiles
Diffstat (limited to 'mdk-stage1/Makefile.common')
-rw-r--r--mdk-stage1/Makefile.common11
1 files changed, 10 insertions, 1 deletions
diff --git a/mdk-stage1/Makefile.common b/mdk-stage1/Makefile.common
index d4aae4bac..58b43bcd7 100644
--- a/mdk-stage1/Makefile.common
+++ b/mdk-stage1/Makefile.common
@@ -19,12 +19,21 @@ ARCH := $(patsubst sparc%,sparc,$(ARCH))
#- default lib is dietlibc (honoured by main Makefile whenever possible)
L = DIETLIBC
-# L = GLIBC
+#L = GLIBC
#- default frontend is newt (honoured by main Makefile whenever possible)
F = NEWT
# F = STDIO
+ #- override in some situations
+ifeq (ia64, $(ARCH))
+L = GLIBC
+endif
+
+
+ #- flags used by all stuff
+CFLAGS = -Os -pipe -Wall -Werror -fomit-frame-pointer
+
DIETLIBC_INCLUDES = -I$(top_dir)/dietlibc/include -I.
GLIBC_INCLUDES = -I.