[packages/xen] - specify build host for gmp, don't rely on autodetection of host cpu

hawk hawk at pld-linux.org
Mon Oct 13 10:21:31 CEST 2014


commit c9725b5b61f7654fdfdbbc441a86ada7b2ce748b
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Mon Oct 13 08:18:23 2014 +0000

    - specify build host for gmp, don't rely on autodetection of host cpu

 xen-gmp-abi.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/xen-gmp-abi.patch b/xen-gmp-abi.patch
new file mode 100644
index 0000000..0929909
--- /dev/null
+++ b/xen-gmp-abi.patch
@@ -0,0 +1,12 @@
+diff -ur xen-4.4.1.orig/stubdom/Makefile xen-4.4.1/stubdom/Makefile
+--- xen-4.4.1.orig/stubdom/Makefile	2014-09-02 06:20:19.000000000 +0000
++++ xen-4.4.1/stubdom/Makefile	2014-10-13 06:57:49.075000000 +0000
+@@ -165,7 +165,7 @@
+ 	rm $@ -rf || :
+ 	mv gmp-$(GMP_VERSION) $@
+ 	#patch -d $@ -p0 < gmp.patch
+-	cd $@; CPPFLAGS="-isystem $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include $(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" CC=$(CC) $(GMPEXT) ./configure --disable-shared --enable-static --disable-fft --without-readline --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf
++	cd $@; CPPFLAGS="-isystem $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include $(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" CC=$(CC) $(GMPEXT) ./configure --disable-shared --enable-static --disable-fft --without-readline --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf --build=$(GNU_TARGET_ARCH)
+ 	sed -i 's/#define HAVE_OBSTACK_VPRINTF 1/\/\/#define HAVE_OBSTACK_VPRINTF 1/' $@/config.h
+ 	touch $@
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xen.git/commitdiff/05e10f1a309ca7873cc85e0ac49f403066d21d81



More information about the pld-cvs-commit mailing list