projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
268561a
)
Add -fno-strict-aliasing
author
Søren Sandmann Pedersen
<sandmann@redhat.com>
Tue, 14 Jul 2009 22:49:43 +0000
(18:49 -0400)
committer
Søren Sandmann Pedersen
<sandmann@redhat.com>
Tue, 14 Jul 2009 22:49:43 +0000
(18:49 -0400)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
a684b1b
..
ea9c4fd
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-101,10
+101,18
@@
AC_SUBST(LT_VERSION_INFO)
changequote(,)dnl
if test "x$GCC" = "xyes"; then
+
case " $CFLAGS " in
*[\ \ ]-Wall[\ \ ]*) ;;
*) CFLAGS="$CFLAGS -Wall" ;;
- esac fi changequote([,])dnl
+ esac
+
+ case " $CFLAGS " in
+ *[\ \ ]-fno-strict-aliasing[\ \ ]*) ;;
+ *) CFLAGS="$CFLAGS -fno-strict-aliasing" ;;
+ esac
+
+fi changequote([,])dnl
AC_PATH_PROG(PERL, perl, no)
if test "x$PERL" = xno; then