diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-12-10 00:22:43 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-12-10 00:22:43 +0000 |
commit | 60318e79966f0e9fc680989d723457a9883d11f7 (patch) | |
tree | b0ec7b7c2186ffe9472d8865e080cc1ed679b2ac | |
parent | b08c04413f125689eb98fd5d2baa715b5248e01d (diff) | |
download | toolchains-60318e79966f0e9fc680989d723457a9883d11f7.tar.gz toolchains-60318e79966f0e9fc680989d723457a9883d11f7.tar.bz2 |
force arm-unknowm-riscos gmp build to x86_64 otherwise compiling on VM hosts fails
-rw-r--r-- | arm-unknown-riscos/recipes/patches/gcc4/gmp-force-build.p | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arm-unknown-riscos/recipes/patches/gcc4/gmp-force-build.p b/arm-unknown-riscos/recipes/patches/gcc4/gmp-force-build.p new file mode 100644 index 0000000..5b1ec2b --- /dev/null +++ b/arm-unknown-riscos/recipes/patches/gcc4/gmp-force-build.p @@ -0,0 +1,11 @@ +--- Makefile.orig 2014-12-09 22:08:21.680152640 +0000 ++++ Makefile 2014-12-10 00:21:11.194955257 +0000 +@@ -163,7 +163,7 @@ + RONATIVE_CONFIG_ARGS := --host=$(TARGET) --target=$(TARGET) --prefix=$(PREFIX_RONATIVE) + + # Configure arguments GMP: +-CROSS_GMP_CONFIG_ARGS := --disable-shared --prefix=$(PREFIX_CROSSGCC_LIBS) ++CROSS_GMP_CONFIG_ARGS := --disable-shared --prefix=$(PREFIX_CROSSGCC_LIBS) --build=x86_64-linux + RONATIVE_GMP_CONFIG_ARGS := --disable-shared --host=$(TARGET) --prefix=$(PREFIX_RONATIVEGCC_LIBS) + ifeq "$(GCC_USE_PPL_CLOOG)" "yes" + CROSS_GMP_CONFIG_ARGS += --enable-cxx |