projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a50187
)
Don't pass -ffast-math to clang, since it ignores it and complains.
author
Eric Anholt
<eric@anholt.net>
Mon, 30 Aug 2010 21:19:23 +0000
(14:19 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 30 Aug 2010 21:20:05 +0000
(14:20 -0700)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index cf2e200db3f8688a224c6085ad91b57be465e068..77004cc881093fc1ca488bf44cbb996e6b51aa56 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-137,7
+137,10
@@
esac
dnl Add flags for gcc and g++
if test "x$GCC" = xyes; then
- CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -std=c99 -ffast-math"
+ 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"