aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorAndreas Jaeger <jaegerandi@gmail.com>2012-05-07 21:50:25 +0200
committerAndreas Jaeger <jaegerandi@gmail.com>2012-05-07 21:50:25 +0200
commit20f244a03fda84d1556674584b340e2459ef3d99 (patch)
treec7a21f8b601d0740754da25b6cc131098d5f8eac /Makeconfig
parent495fd99f3a119e5c0c542ccc6cf9c93b1fb9e892 (diff)
downloadglibc-20f244a03fda84d1556674584b340e2459ef3d99.zip
glibc-20f244a03fda84d1556674584b340e2459ef3d99.tar.gz
glibc-20f244a03fda84d1556674584b340e2459ef3d99.tar.bz2
Revert "Build glibc with -frounding-math"
This reverts commit bd7b0e561f7f684cedfc4adb964569fe9ab16209. Conflicts: ChangeLog
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makeconfig b/Makeconfig
index f68a752..5c78ee4 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -574,11 +574,6 @@ endif
# actually different, so allow the compiler to merge them all.
+merge-constants = -fmerge-all-constants
-# We have to assume that glibc functions are called in any rounding
-# mode and also change the rounding mode in a few functions. So,
-# disable any optimization that assume default rounding mode.
-+math-flags = -frounding-math
-
# This is the program that generates makefile dependencies from C source files.
# The -MP flag tells GCC >= 3.2 (which we now require) to produce dummy
# targets for headers so that removed headers don't break the build.
@@ -638,7 +633,7 @@ ifeq "$(strip $(+cflags))" ""
+cflags := $(default_cflags)
endif # $(+cflags) == ""
-+cflags += $(cflags-cpu) $(+gccwarn) $(+merge-constants) $(+math-flags)
++cflags += $(cflags-cpu) $(+gccwarn) $(+merge-constants)
+gcc-nowarn := -w
# Don't duplicate options if we inherited variables from the parent.