summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.7.4/openbsd-lto.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-28 10:21:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-28 10:21:59 +0200
commitb2c15413414e1060938d682df3a0f2c9534cf012 (patch)
treede3369d7f51557e37b79fcbf7e7f43204e3a5433 /toolchain/gcc/patches/4.7.4/openbsd-lto.patch
parent0eb32a8e2e000218959606af4a54a55fc4598eea (diff)
parent165994403a52976f00b993b9e1899e331cce4f61 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/gcc/patches/4.7.4/openbsd-lto.patch')
-rw-r--r--toolchain/gcc/patches/4.7.4/openbsd-lto.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.7.4/openbsd-lto.patch b/toolchain/gcc/patches/4.7.4/openbsd-lto.patch
new file mode 100644
index 000000000..8a94971b7
--- /dev/null
+++ b/toolchain/gcc/patches/4.7.4/openbsd-lto.patch
@@ -0,0 +1,13 @@
+diff -Nur gcc-4.7.3.orig/gcc/config.host gcc-4.7.3/gcc/config.host
+--- gcc-4.7.3.orig/gcc/config.host Tue Oct 18 08:14:14 2011
++++ gcc-4.7.3/gcc/config.host Tue Jan 7 04:33:29 2014
+@@ -292,6 +292,9 @@
+ out_host_hook_obj=host-solaris.o
+ host_xmake_file="${host_xmake_file} x-solaris"
+ ;;
++ *-*-openbsd*)
++ host_lto_plugin_soname=liblto_plugin.so.0.0
++ ;;
+ *-*-linux*)
+ out_host_hook_obj=host-linux.o
+ host_xmake_file="${host_xmake_file} x-linux"