local-sparcv9-target
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)
# DP: Description: Optimizes the build for sparcv9
# DP: Author: Ben Collins, Aurelien Jarno
# DP: Upstream status: Debian-Specific
# DP: Status Details:
# DP: Date: July 19, 2007

Gbp-Pq: Topic sparc
Gbp-Pq: Name local-sparcv9-target.diff

configure
configure.ac

index 969fac498ec69f23b42d8447ae71c09d3087dda0..f1e2da348589c60545631ec69c4ebc19b849a005 100755 (executable)
--- a/configure
+++ b/configure
@@ -3696,6 +3696,11 @@ base_os=''
 
 submachine=
 
+# Force v9
+if test "$machine" = sparc; then
+   machine="sparcv9"
+fi
+
 # Check whether --with-cpu was given.
 if test "${with_cpu+set}" = set; then :
   withval=$with_cpu;   case "$withval" in
index 68b2875e505d3b3afa15197bafff656f5ba29177..66ee6ffad1c6b2f742d58aa94da5b166791b9230 100644 (file)
@@ -443,6 +443,11 @@ os=$config_os
 base_os=''
 
 submachine=
+# Force v9
+if test "$machine" = sparc; then
+   machine="sparcv9"
+fi
+
 AC_ARG_WITH([cpu],
            AS_HELP_STRING([--with-cpu=CPU], [select code for CPU variant]),
            [dnl