summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-2.2.5/initfini-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc/glibc-2.2.5/initfini-flags.patch')
-rw-r--r--packages/glibc/glibc-2.2.5/initfini-flags.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.2.5/initfini-flags.patch b/packages/glibc/glibc-2.2.5/initfini-flags.patch
index e69de29bb2..1c9bd2bcf2 100644
--- a/packages/glibc/glibc-2.2.5/initfini-flags.patch
+++ b/packages/glibc/glibc-2.2.5/initfini-flags.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- glibc-2.2.5/csu/Makefile~glibc-2.3.2-initfini
++++ glibc-2.2.5/csu/Makefile
+@@ -92,7 +92,7 @@
+ $(objpfx)crt%.o: $(objpfx)crt%.S $(objpfx)defs.h
+ $(compile.S) -g0 $(ASFLAGS-.os) -o $@
+
+-CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions
++CFLAGS-initfini.s = -O1 -g0 -fPIC -fno-inline-functions
+
+ vpath initfini.c $(full_config_sysdirs)
+