summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-17 03:44:54 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-17 04:00:28 -0500
commit01322765ce0ea72a84f0a4065cbd47e1a750f2c4 (patch)
treea1c74e6acda17259f4545dec57376ac3456685b2 /dev-libs/openssl
parentdev-ruby/railties: add ruby22 (diff)
downloadgentoo-01322765ce0ea72a84f0a4065cbd47e1a750f2c4.tar.gz
gentoo-01322765ce0ea72a84f0a4065cbd47e1a750f2c4.tar.bz2
gentoo-01322765ce0ea72a84f0a4065cbd47e1a750f2c4.zip
dev-libs/openssl: fix sparc builds (mostly 64-bit)
Diffstat (limited to 'dev-libs/openssl')
-rwxr-xr-xdev-libs/openssl/files/gentoo.config-1.0.27
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-libs/openssl/files/gentoo.config-1.0.2 b/dev-libs/openssl/files/gentoo.config-1.0.2
index b3f6cedfbec8..0528c1c15b39 100755
--- a/dev-libs/openssl/files/gentoo.config-1.0.2
+++ b/dev-libs/openssl/files/gentoo.config-1.0.2
@@ -108,8 +108,13 @@ linux)
# sh64*) machine=elf;;
sh*b*) machine="generic32 -DB_ENDIAN";;
sh*) machine="generic32 -DL_ENDIAN";;
+ # TODO: Might want to do -mcpu probing like glibc to determine a
+ # better default for sparc-linux-gnu targets. This logic will
+ # break v7 and older systems when they use it.
sparc*v7*) machine="generic32 -DB_ENDIAN";;
- sparc64*) machine=sparcv9;;
+ sparc64*) machine=sparcv9 system=linux64;;
+ sparc*v9*) machine=sparcv9;;
+ sparc*v8*) machine=sparcv8;;
sparc*) machine=sparcv8;;
s390x*) machine=s390x system=linux64;;
s390*) machine="generic32 -DB_ENDIAN";;