[fedora-virt-maint] rpms/qemu/F-12 qemu.spec,1.142,1.143

Mark McLoughlin markmc at fedoraproject.org
Wed Oct 14 15:57:54 UTC 2009


Author: markmc

Update of /cvs/pkgs/rpms/qemu/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12223

Modified Files:
	qemu.spec 
Log Message:
Assume --build-id is always available


Index: qemu.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qemu/F-12/qemu.spec,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -p -r1.142 -r1.143
--- qemu.spec	14 Oct 2009 15:45:53 -0000	1.142
+++ qemu.spec	14 Oct 2009 15:57:53 -0000	1.143
@@ -247,21 +247,9 @@ such as kvmtrace and kvm_stat.
 %patch09 -p1
 
 %build
-# systems like rhel build system does not have a recent enough linker so
-# --build-id works. this option is used fedora 8 onwards for giving info
-# to the debug packages.
-
-build_id_available() {
- echo "int main () { return 0; }" | gcc -x c -Wl,--build-id - 2>/dev/null
-}
-
-if build_id_available; then
- extraldflags="-Wl,--build-id";
- buildldflags="VL_LDFLAGS=-Wl,--build-id"
-else
- extraldflags=""
- buildldflags=""
-fi
+# --build-id option is used fedora 8 onwards for giving info to the debug packages.
+extraldflags="-Wl,--build-id";
+buildldflags="VL_LDFLAGS=-Wl,--build-id"
 
 %ifarch %{ix86} x86_64
 # sdl outputs to alsa or pulseaudio depending on system config, but it's broken (#495964)




More information about the Fedora-virt-maint mailing list