openbsd-lto.patch 475 B

12345678910111213
  1. diff -Nur gcc-4.7.3.orig/gcc/config.host gcc-4.7.3/gcc/config.host
  2. --- gcc-4.7.3.orig/gcc/config.host Tue Oct 18 08:14:14 2011
  3. +++ gcc-4.7.3/gcc/config.host Tue Jan 7 04:33:29 2014
  4. @@ -292,6 +292,9 @@
  5. out_host_hook_obj=host-solaris.o
  6. host_xmake_file="${host_xmake_file} x-solaris"
  7. ;;
  8. + *-*-openbsd*)
  9. + host_lto_plugin_soname=liblto_plugin.so.0.0
  10. + ;;
  11. *-*-linux*)
  12. out_host_hook_obj=host-linux.o
  13. host_xmake_file="${host_xmake_file} x-linux"