rpms/kernel-xen-2.6/devel xen-build-id.patch,1.1.2.4,1.1.2.5
Eduardo Habkost (ehabkost)
fedora-extras-commits at redhat.com
Tue Oct 23 13:36:29 UTC 2007
Author: ehabkost
Update of /cvs/pkgs/rpms/kernel-xen-2.6/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4282
Modified Files:
Tag: private-ehabkost-debuginfo-branch
xen-build-id.patch
Log Message:
xen-build-id.patch: redirect output to /dev/null properly
xen-build-id.patch:
Index: xen-build-id.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/Attic/xen-build-id.patch,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -r1.1.2.4 -r1.1.2.5
--- xen-build-id.patch 23 Oct 2007 13:30:49 -0000 1.1.2.4
+++ xen-build-id.patch 23 Oct 2007 13:36:26 -0000 1.1.2.5
@@ -9,7 +9,7 @@
+# ld-option: Check if linker supports first option, else fall back to second.
+# Usage: LDFLAGS_DIRECT += $(call ld-option,$(CC),--build-id,)
+ld-option = $(shell if $(1) -Wl,$(2) -nostdlib -o /dev/null -xc \
-+ /dev/null 2>&1 >/dev/null; then echo "$(2)"; else echo "$(3)"; fi ;)
++ /dev/null >/dev/null 2>&1; then echo "$(2)"; else echo "$(3)"; fi ;)
+
+
ifneq ($(debug),y)
More information about the fedora-extras-commits
mailing list