]> git.pld-linux.org Git - packages/xen.git/commitdiff
- specify build host for gmp, don't rely on autodetection of host cpu
authorMarcin Krol <hawk@tld-linux.org>
Mon, 13 Oct 2014 08:18:23 +0000 (08:18 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 13 Oct 2014 08:18:23 +0000 (08:18 +0000)
xen-gmp-abi.patch [new file with mode: 0644]

diff --git a/xen-gmp-abi.patch b/xen-gmp-abi.patch
new file mode 100644 (file)
index 0000000..0929909
--- /dev/null
@@ -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 $@
This page took 0.148866 seconds and 4 git commands to generate.