summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorolh@suse.de <olh@suse.de>2004-03-12 01:06:55 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:09 -0700
commit60ea6945259ee0336ebd742e701a109c90e5a6ab (patch)
treeb08543c3453232359f290aec41f0caf902d4f398 /Makefile
parent0c17d02da29a4c41186caabb3f7ff488e0f6c9ea (diff)
[PATCH] udev* segfaults with new klibc
current klibc uses regparm on i386. This leads to nice segfaults in all udev apps. Using the content of the just included MCONFIG file fixes it.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e4c6184c95..23aef06666 100644
--- a/Makefile
+++ b/Makefile
@@ -155,6 +155,7 @@ ifeq ($(strip $(USE_KLIBC)),true)
CRT0 = $(KLIBC_DIR)/crt0.o
LIBC = $(ARCH_LIB_OBJS) $(LIB_OBJS) $(CRT0)
CFLAGS += $(WARNINGS) -nostdinc \
+ $(OPTFLAGS) \
-D__KLIBC__ -fno-builtin-printf \
-I$(INCLUDE_DIR) \
-I$(KLIBC_DIR)/arch/$(ARCH)/include \