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.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.