projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove -ffast-math from default CFLAGS
[mesa.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 1a120ecdaae66b0e11bcc4a193bff398cf95575d..e13c4cfc57feafe550a28aa318f7b2d91ba49245 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-18,6
+18,11
@@
AC_CONFIG_AUX_DIR([bin])
AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([foreign])
AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([foreign])
+# Support silent build rules, requires at least automake-1.11. Disable
+# by either passing --disable-silent-rules to configure or passing V=1
+# to make
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
LT_PREREQ([2.2])
LT_INIT([disable-static])
LT_PREREQ([2.2])
LT_INIT([disable-static])
@@
-171,9
+176,6
@@
esac
dnl Add flags for gcc and g++
if test "x$GCC" = xyes; then
CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -std=c99"
dnl Add flags for gcc and g++
if test "x$GCC" = xyes; then
CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -std=c99"
- if test "x$CLANG" = "xno"; then
- CFLAGS="$CFLAGS -ffast-math"
- fi
# Enable -fvisibility=hidden if using a gcc that supports it
save_CFLAGS="$CFLAGS"
# Enable -fvisibility=hidden if using a gcc that supports it
save_CFLAGS="$CFLAGS"