summaryrefslogtreecommitdiff
path: root/recipes/glibc/glibc-2.2.5/initfini-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/glibc/glibc-2.2.5/initfini-flags.patch')
-rw-r--r--recipes/glibc/glibc-2.2.5/initfini-flags.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/glibc/glibc-2.2.5/initfini-flags.patch b/recipes/glibc/glibc-2.2.5/initfini-flags.patch
new file mode 100644
index 0000000000..1c9bd2bcf2
--- /dev/null
+++ b/recipes/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)
+