From: Ruben Kerkhof Date: Sat, 27 May 2017 14:12:41 +0000 (+0200) Subject: python plugin: stop disabling strict aliasing X-Git-Tag: collectd-5.8.0~151 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;ds=sidebyside;h=594059cbdaab45866108181f02f4ec0062fcb55b;p=collectd.git python plugin: stop disabling strict aliasing According to https://bugs.python.org/issue1718153, this has been fixed in python 2.6, the oldest version we support. --- diff --git a/Makefile.am b/Makefile.am index fa85720f..529d4a92 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1389,9 +1389,6 @@ python_la_SOURCES = \ src/pyvalues.c \ src/cpython.h python_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBPYTHON_CPPFLAGS) -if COMPILER_IS_GCC -python_la_CPPFLAGS += -fno-strict-aliasing -Wno-strict-aliasing -endif python_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(LIBPYTHON_LDFLAGS) endif diff --git a/configure.ac b/configure.ac index cd212fa9..5f56385f 100644 --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,6 @@ AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET AM_PROG_CC_C_O -AM_CONDITIONAL([COMPILER_IS_GCC], [test "x$GCC" = "xyes"]) AC_PROG_LEX AC_PROG_YACC