# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gmp/sparc.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---

When optimized for a higher architecture than the inline assemgly no -xarch must
be passed to the assembler, otherwise it will not recognize the compiler generated
intstructions.

  - Rene Rebe <rene@exactcode.de>

--- gmp-4.1.4/configure	2004-09-21 15:06:47.000000000 +0200
+++ gmp-4.1.4/configure	2005-10-18 07:19:31.060000000 +0200
@@ -3301,7 +3301,7 @@
     esac
 
     case $host_cpu in
-      sparc64 | sparcv9* | ultrasparc*)
+      sparc64 | ultrasparc*)
         case $host in
           # Solaris 6 and earlier cannot run ABI=64 since it doesn't save
           # registers properly, so ABI=32 is left as the only choice.