diff --git a/qemu.spec b/qemu.spec index 9575815..294ea6d 100644 --- a/qemu.spec +++ b/qemu.spec @@ -341,7 +341,7 @@ such as kvm_stat. extraldflags="-Wl,--build-id"; buildldflags="VL_LDFLAGS=-Wl,--build-id" -ifarch s390 +%ifarch s390 # drop -g flag to prevent memory exhaustion by linker %global optflags %(echo %{optflags} | sed 's/-g//') sed -i.debug 's/-g//g' configure