# 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
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
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