summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-08 16:17:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-08 16:17:17 +0100
commit519d88693ecc99618a0e87b480e47980fe2150d1 (patch)
treed035286a04826b3354631818ebc3ca4cf3a38c29 /toolchain
parent2809a931ca5818f418fd383fc0a1e026cccc972f (diff)
parentd93c019f2cfdf53be59f02600cc25c547ba24edc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/patches/4.7.3/openbsd-lto.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.7.3/openbsd-lto.patch b/toolchain/gcc/patches/4.7.3/openbsd-lto.patch
new file mode 100644
index 000000000..8a94971b7
--- /dev/null
+++ b/toolchain/gcc/patches/4.7.3/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"