summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-04-21 02:21:21 +0000
committerMike Frysinger <vapier@gentoo.org>2013-04-21 02:21:21 +0000
commit4e3190e3850bd274335f0831cf8e490878a9e65f (patch)
tree42c6d497cb720a0b32826bfca2123477128eaecb /dev-libs/gmp/files
parentrestricted strip as technically that modifies the binaries, and we want to be... (diff)
downloadgentoo-2-4e3190e3850bd274335f0831cf8e490878a9e65f.tar.gz
gentoo-2-4e3190e3850bd274335f0831cf8e490878a9e65f.tar.bz2
gentoo-2-4e3190e3850bd274335f0831cf8e490878a9e65f.zip
Fix builds for armv4 targets.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'dev-libs/gmp/files')
-rw-r--r--dev-libs/gmp/files/gmp-5.1.0-armv4.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/gmp/files/gmp-5.1.0-armv4.patch b/dev-libs/gmp/files/gmp-5.1.0-armv4.patch
new file mode 100644
index 000000000000..0337bd364968
--- /dev/null
+++ b/dev-libs/gmp/files/gmp-5.1.0-armv4.patch
@@ -0,0 +1,12 @@
+fix missing __gmpn_invert_limb symbols w/armv4 targets
+
+--- a/configure
++++ b/configure
+@@ -582,6 +582,7 @@ case $host in
+ # options fail.
+ case $host_cpu in
+ armsa1 | armv4*)
++ path="arm"
+ ;;
+ armxscale | arm9te | arm10 | armv5*)
+ path="arm/v5 arm"