From 973651bdfd1d7d680601848d5adcb4042640dfbc Mon Sep 17 00:00:00 2001 From: Leif Walsh Date: Tue, 27 Aug 2013 14:09:56 -0400 Subject: [PATCH] added -flto -fuse-linker-plugin to RelWithDebInfo #77 --- storage/tokudb/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/tokudb/CMakeLists.txt b/storage/tokudb/CMakeLists.txt index 9095a7202e7..13462fb2342 100644 --- a/storage/tokudb/CMakeLists.txt +++ b/storage/tokudb/CMakeLists.txt @@ -25,3 +25,4 @@ SET(TOKUDB_SOURCES ha_tokudb.cc) MYSQL_ADD_PLUGIN(tokudb ${TOKUDB_SOURCES} STORAGE_ENGINE MODULE_ONLY LINK_LIBRARIES tokufractaltree_static tokuportability_static z stdc++) SET_PROPERTY(TARGET tokudb APPEND PROPERTY LINK_FLAGS_RELEASE "-flto -fuse-linker-plugin") +SET_PROPERTY(TARGET tokudb APPEND PROPERTY LINK_FLAGS_RELWITHDEBINFO "-flto -fuse-linker-plugin")