From 24874e21d4cf798110d318384872a8918c352881 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 1 Aug 2016 15:42:56 +0100 Subject: [PATCH] Forbid stripping of libraries which breaks them. --- stage2-riscv-gnu-toolchain/riscv-gnu-toolchain.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stage2-riscv-gnu-toolchain/riscv-gnu-toolchain.spec b/stage2-riscv-gnu-toolchain/riscv-gnu-toolchain.spec index 5211dd7..0984a98 100644 --- a/stage2-riscv-gnu-toolchain/riscv-gnu-toolchain.spec +++ b/stage2-riscv-gnu-toolchain/riscv-gnu-toolchain.spec @@ -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 -- 1.8.3.1