From 594059cbdaab45866108181f02f4ec0062fcb55b Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 27 May 2017 16:12:41 +0200 Subject: [PATCH] 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. --- Makefile.am | 3 --- configure.ac | 1 - 2 files changed, 4 deletions(-) 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 -- 2.11.0