summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a7e88b8)
raw | patch | inline | side by side (parent: a7e88b8)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 11 Oct 2005 16:32:09 +0000 (16:32 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 11 Oct 2005 16:32:09 +0000 (16:32 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@698 a5681a0c-68f1-0310-ab6d-d61299d08faa
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index cb3caa8dd80873292dfff589a79e0973e36ecb39..e2d5c6af5f646870fd4263678095093dfab85d88 100644 (file)
--- a/configure.ac
+++ b/configure.ac
dnl Does the compiler like -Wall and -pedantic?
if test "$GCC" = "yes"; then
oCFLAGS=$CFLAGS
- CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W"
+ CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W"
AC_CACHE_CHECK(if we can use GCC-specific compiler options, rd_cv_gcc_opt,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[return 0 ]])],[rd_cv_gcc_opt=yes],[rd_cv_gcc_opt=no ])
]