Commit acc42d51 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5368 add lto flags to handlerton

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@48336 c7de825b-a66e-492c-adef-691d508d4ae1
parent aadd5c6f
......@@ -11,3 +11,4 @@ FIND_LIBRARY(TOKUPORTABILITY_LIB NAMES ${TOKUPORTABILITY_LIBNAME} HINTS ${TOKUFR
SET(TOKUDB_PLUGIN_DYNAMIC "ha_tokudb")
SET(TOKUDB_SOURCES ha_tokudb.cc)
MYSQL_ADD_PLUGIN(tokudb ${TOKUDB_SOURCES} STORAGE_ENGINE MODULE_ONLY LINK_LIBRARIES ${TOKUFRACTALTREE_LIB} ${TOKUPORTABILITY_LIB} z stdc++)
SET_PROPERTY(TARGET tokudb APPEND PROPERTY LINK_FLAGS_RELEASE "-flto -fuse-linker-plugin")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment