chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0c17d02
)
[PATCH] udev* segfaults with new klibc
author
olh@suse.de
<olh@suse.de>
Fri, 12 Mar 2004 09:06:55 +0000
(
01:06
-0800)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:35:09 +0000
(21:35 -0700)
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
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index e4c6184c95b1df153596e4f3b7a2335f1a28cda8..23aef0666682496fac4c04f721c11c9fed787852 100644
(file)
--- 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 \