[qemu/el6: 230/230] Make it build

Lubomir Rintel lkundrak at fedoraproject.org
Thu Nov 15 06:53:03 UTC 2012


commit 96611866a6356edfea4fa35af3fe7ae9bf112371
Author: Lubomir Rintel <lkundrak at v3.sk>
Date:   Wed Nov 14 22:11:05 2012 +0100

    Make it build

 qemu.spec |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/qemu.spec b/qemu.spec
index 527e757..1fc7606 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -1,3 +1,12 @@
+# ===== 8< ===== HACK ===== 8< ===== HACK ===== 8< ===== HACK ===== 8< =====
+# Compiler is quite resource intensive while generating debuginfo for
+# certain files, # particularly sparc64-softmmu/target-sparc/translate.o and
+# thus we're # very likely to run out of memory. Disable as muchx
+# paralellization as we can, to make it survive the build.
+%global optflags %(rpm --eval '%%{optflags}' |sed 's/-pipe//')
+%global _smp_mflags %{nil}
+# ===== 8< ===== HACK ===== 8< ===== HACK ===== 8< ===== HACK ===== 8< =====
+
 # build-time settings that support --with or --without:
 #
 # = kvmonly =


More information about the scm-commits mailing list