[Gmp-commit] /var/hg/gmp: Amend 2011-11-03 gcc_cflags change.

mercurial at gmplib.org mercurial at gmplib.org
Tue Nov 15 01:33:30 CET 2011


details:   /var/hg/gmp/rev/ea546be31e2a
changeset: 14442:ea546be31e2a
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Nov 15 01:33:25 2011 +0100
description:
Amend 2011-11-03 gcc_cflags change.

diffstat:

 ChangeLog    |  2 ++
 configure.in |  6 ++----
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r bf8095efcd35 -r ea546be31e2a ChangeLog
--- a/ChangeLog	Tue Nov 15 00:53:06 2011 +0100
+++ b/ChangeLog	Tue Nov 15 01:33:25 2011 +0100
@@ -1,5 +1,7 @@
 2011-11-15  Torbjorn Granlund  <tege at gmplib.org>
 
+	* configure.in: Amend 2011-11-03 gcc_cflags change.
+
 	* mpn/powerpc64/tabselect.asm: New file.
 	* mpn/x86_64/tabselect.asm: New file.
 	* mpn/x86/tabselect.asm: New file.
diff -r bf8095efcd35 -r ea546be31e2a configure.in
--- a/configure.in	Tue Nov 15 00:53:06 2011 +0100
+++ b/configure.in	Tue Nov 15 01:33:25 2011 +0100
@@ -875,7 +875,7 @@
     abilist="32"
     cclist="gcc cc"
     cc_cflags="-O2"
-    gcc_cflags="$gcc_cflags -mpowerpc"
+    gcc_32_cflags="$gcc_cflags -mpowerpc"
     gcc_cflags_optlist="precomp subtype asm cpu"
     gcc_cflags_precomp="-no-cpp-precomp"
     gcc_cflags_subtype="-force_cpusubtype_ALL"	# for vmx on darwin
@@ -1243,9 +1243,7 @@
     #
     case $host_cpu in
       sparc64 | sparcv9* | ultrasparc*)
-        gcc_cflags="$gcc_cflags -Wa,-xarch=v8plus" ;;
-      *)
-        gcc_cflags="$gcc_cflags" ;;
+        gcc_32_cflags="$gcc_cflags -Wa,-xarch=v8plus" ;;
     esac
     gcc_32_cflags_maybe="-m32"
     gcc_cflags_optlist="cpu"


More information about the gmp-commit mailing list