diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-08 03:12:58 -0700 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-08 03:12:58 -0700 |
commit | 79ed091205f823889a119a38b81cdef2dd1b6c92 (patch) | |
tree | f68faf44e8d52778964b2d9f74945bed61dd4363 /toolchain | |
parent | 237345323af9aa759b1dee8cc5496c1ef30c3f2c (diff) |
fix lto plugin detection on openbsd
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/patches/4.7.3/openbsd-lto.patch | 13 |
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" |