projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f18a27
)
Disable strict aliasing to stop type-punning warning spew.
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 6 Jun 2007 13:56:17 +0000
(16:56 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 6 Jun 2007 13:56:17 +0000
(16:56 +0300)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
a5af632
..
fec2973
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-27,6
+27,8
@@
AS=${AS-as}
AC_SUBST(AS)
if test "$ac_cv_c_compiler_gnu" = yes; then
CFLAGS="$CFLAGS -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts"
+ dnl XXX TODO: check if the compiler supports this
+ CFLAGS="$CFLAGS -fno-strict-aliasing"
fi
export CFLAGS