summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-2.2.5/glibc-2.3.2-initfini.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc/glibc-2.2.5/glibc-2.3.2-initfini.patch')
-rw-r--r--packages/glibc/glibc-2.2.5/glibc-2.3.2-initfini.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.2.5/glibc-2.3.2-initfini.patch b/packages/glibc/glibc-2.2.5/glibc-2.3.2-initfini.patch
index e69de29bb2..8bfbcb173a 100644
--- a/packages/glibc/glibc-2.2.5/glibc-2.3.2-initfini.patch
+++ b/packages/glibc/glibc-2.2.5/glibc-2.3.2-initfini.patch
@@ -0,0 +1,12 @@
+diff -urNd glibc-2.3.2-ct25/csu/Makefile glibc-2.3.2/csu/Makefile
+--- glibc-2.3.2-ct25/csu/Makefile 2004-06-25 13:47:54.000000000 +0200
++++ glibc-2.3.2/csu/Makefile 2004-06-25 13:54:33.000000000 +0200
+@@ -99,7 +99,7 @@
+ $(objpfx)crt%.o: $(objpfx)crt%.S $(objpfx)defs.h
+ $(compile.S) -g0 $(ASFLAGS-.os) -o $@
+
+-CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time)
++CFLAGS-initfini.s = -O1 -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time)
+
+ vpath initfini.c $(full_config_sysdirs)
+