From 60ea6945259ee0336ebd742e701a109c90e5a6ab Mon Sep 17 00:00:00 2001 From: "olh@suse.de" Date: Fri, 12 Mar 2004 01:06:55 -0800 Subject: [PATCH] [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. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index e4c6184c9..23aef0666 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 \ -- 2.30.2