From b71f41a9286d34a9ac3d19a7ffa07208682c27e0 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 26 Sep 2014 18:24:25 +0200 Subject: add support for toolchain building for crisv32 architecture --- toolchain/gcc/patches/4.7.4/openbsd-lto.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 toolchain/gcc/patches/4.7.4/openbsd-lto.patch (limited to 'toolchain/gcc/patches/4.7.4/openbsd-lto.patch') 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" -- cgit v1.2.3