[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r11080 - in /libdfp/trunk: ChangeLog Makefile.in configure configure.ac



Author: ryanarn
Date: Tue Jul 27 11:40:57 2010
New Revision: 11080

Log:
Libdfp no longer automagically sets CFLAGS with -m<size> or -mzarch (for
s390).  The reason is that it was magic and we should allow a user to have
predictable results when the omit specific flags like all of the other
libraries out there.

2010-07-26  Ryan S. Arnold  <rsa@xxxxxxxxxx>

	* configure: Regenerated file.
	* Makefile.in: Removed last comments dealing with -mzarch.
	* configure.ac: Removed last fragments dealing with -mzarch.


Modified:
    libdfp/trunk/ChangeLog
    libdfp/trunk/Makefile.in
    libdfp/trunk/configure
    libdfp/trunk/configure.ac

Modified: libdfp/trunk/ChangeLog
==============================================================================
--- libdfp/trunk/ChangeLog (original)
+++ libdfp/trunk/ChangeLog Tue Jul 27 11:40:57 2010
@@ -1,3 +1,9 @@
+2010-07-26  Ryan S. Arnold  <rsa@xxxxxxxxxx>
+
+	* configure: Regenerated file.
+	* Makefile.in: Removed last comments dealing with -mzarch.
+	* configure.ac: Removed last fragments dealing with -mzarch.
+
 2010-07-26  Ryan S. Arnold  <rsa@xxxxxxxxxx>
 
 	* ieee754r/isinfd32.c: Removed unnecessary static char buffer used for

Modified: libdfp/trunk/Makefile.in
==============================================================================
--- libdfp/trunk/Makefile.in (original)
+++ libdfp/trunk/Makefile.in Tue Jul 27 11:40:57 2010
@@ -171,11 +171,10 @@
 	@echo VPATH=$(VPATH)
 	@echo Processing Makefiles: $(makefile_dirs)
 
-# Configure will have generated the Makefile for the selected backend.
-# Let's add it to the subdir list so it gets recursively invoked by Make.  We
-# have to pass CFLAGS here because configure's CFLAGS doesn't have -mcpu,
-# -m[31|32|64] or -mzarch.  Don't pass -e to make or it could pull unwanted
-#  variables from the environment.
+# Configure will have generated the Makefile for the selected backend.  Let's
+# add it to the subdir list so it gets recursively invoked by Make.  We pass
+# CFLAGS as a precaution.  Don't pass -e to make or it could pull unwanted
+# variables from the environment.
 $(dfp_backend)/$(dfp_backend_lib):
 	@echo "+Building DFP backend $@"
 	DEFS="-D__STDC_DEC_FP__=200704L" CFLAGS="$(CFLAGS)" $(MAKE) -C $(dfp_backend)

Modified: libdfp/trunk/configure
==============================================================================
--- libdfp/trunk/configure (original)
+++ libdfp/trunk/configure Tue Jul 27 11:40:57 2010
@@ -1524,11 +1524,9 @@
 fi;
 
 
-# This will invoke the sysdeps/$machine/<processor>/ machinery as well as
-# the -mcpu=<processor> machinery and -mzarch for s390 (and friends).
+# This will invoke the sysdeps/$machine/<processor>/ machinery.
 submachine=
 with_dfp=
-cc_mzarch=
 
 # Check whether --with-cpu or --without-cpu was given.
 if test "${with_cpu+set}" = set; then
@@ -1557,13 +1555,11 @@
     with_dfp=yes ;;
   z9-ec)
     submachine="$withval"
-    cc_mzarch=-mzarch
     { echo "$as_me:$LINENO: configuring for the $submachine processor" >&5
 echo "$as_me: configuring for the $submachine processor" >&6;}
     with_dfp=yes ;;
   z10)
     submachine="$withval"
-    cc_mzarch=-mzarch
     { echo "$as_me:$LINENO: configuring for the $submachine processor" >&5
 echo "$as_me: configuring for the $submachine processor" >&6;}
     with_dfp=yes ;;

Modified: libdfp/trunk/configure.ac
==============================================================================
--- libdfp/trunk/configure.ac (original)
+++ libdfp/trunk/configure.ac Tue Jul 27 11:40:57 2010
@@ -149,11 +149,9 @@
 	    [dfp_backend=$default_backend])
 AC_SUBST(dfp_backend)
 
-# This will invoke the sysdeps/$machine/<processor>/ machinery as well as
-# the -mcpu=<processor> machinery and -mzarch for s390 (and friends).
+# This will invoke the sysdeps/$machine/<processor>/ machinery.
 submachine=
 with_dfp=
-cc_mzarch=
 AC_ARG_WITH([cpu],
 	    AS_HELP_STRING([--with-cpu=CPU], [select code for CPU variant]),
 	    [dnl
@@ -176,12 +174,10 @@
     with_dfp=yes ;;
   z9-ec)
     submachine="$withval"
-    cc_mzarch=-mzarch
     AC_MSG_NOTICE(configuring for the $submachine processor)
     with_dfp=yes ;;
   z10)
     submachine="$withval"
-    cc_mzarch=-mzarch
     AC_MSG_NOTICE(configuring for the $submachine processor)
     with_dfp=yes ;;
   *)