Forbid stripping of libraries which breaks them.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 1 Aug 2016 14:42:56 +0000 (15:42 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 1 Aug 2016 15:29:16 +0000 (16:29 +0100)
stage2-riscv-gnu-toolchain/riscv-gnu-toolchain.spec

index 5211dd7..0984a98 100644 (file)
@@ -3,12 +3,15 @@
 # Don't rm -rf $RPM_BUILD_ROOT at the top of install rule.
 %global __spec_install_pre %{___build_pre}
 
+# Strip breaks the libraries, don't do it.
+%global __strip /bin/true
+
 %global commit      1374381e01b30832581d65a56219388fe7d47584
 %global shortcommit 1374381e
 
 Name:           riscv-gnu-toolchain
 Version:        0
-Release:        0.1.git%{shortcommit}%{?dist}
+Release:        0.2.git%{shortcommit}%{?dist}
 Summary:        RISC-V GNU cross-toolchain, containing binutils and GCC
 License:        GPLv2+ and LGPLv2+ and BSD