summaryrefslogtreecommitdiff
path: root/recipes/glibc/glibc-2.2.5/pt-initfini-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/glibc/glibc-2.2.5/pt-initfini-flags.patch')
-rw-r--r--recipes/glibc/glibc-2.2.5/pt-initfini-flags.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/glibc/glibc-2.2.5/pt-initfini-flags.patch b/recipes/glibc/glibc-2.2.5/pt-initfini-flags.patch
new file mode 100644
index 0000000000..e8ba2facfc
--- /dev/null
+++ b/recipes/glibc/glibc-2.2.5/pt-initfini-flags.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- glibc-2.2.5/linuxthreads/Makefile~glibc-linuxthreads-2.3.2-initfini
++++ glibc-2.2.5/linuxthreads/Makefile
+@@ -54,7 +54,7 @@
+ extra-objs += crti.o
+ omit-deps += crti
+
+-CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions
++CFLAGS-pt-initfini.s = -O1 -g0 -fPIC -fno-inline-functions
+ endif
+
+ librt-tests = ex10 ex11