From 775fd54ddb64f05b48f8bdcedaa2bc9eb1c0792c Mon Sep 17 00:00:00 2001 From: marko Date: Mon, 11 Feb 2008 10:31:55 +0000 Subject: [PATCH] branches/zip: Makefile.am: Disable the generation of position-independent code in the compilation of ha_innodb.so. ha_innodb_la_CXXFLAGS, ha_innodb_la_CFLAGS: Add -prefer-non-pic. This flag is interpreted by the ../../libtool script that acts as a front-end to the compiler and linker. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 2b05a664094..0c14d0d6b2a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -185,8 +185,8 @@ pkglib_LTLIBRARIES = @plugin_innobase_shared_target@ # we must rename class ha_innobase to something else. Also global symbols # will have to be redefined, but that can be done by objcopy --redefine-syms. ha_innodb_la_LDFLAGS = -module -rpath $(MYSQLLIBdir) -ha_innodb_la_CXXFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN -ha_innodb_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN +ha_innodb_la_CXXFLAGS= $(AM_CFLAGS) -prefer-non-pic -DMYSQL_DYNAMIC_PLUGIN +ha_innodb_la_CFLAGS = $(AM_CFLAGS) -prefer-non-pic -DMYSQL_DYNAMIC_PLUGIN ha_innodb_la_SOURCES = $(libinnobase_a_SOURCES) EXTRA_DIST = CMakeLists.txt plug.in \