null+****@clear*****
null+****@clear*****
2012年 4月 16日 (月) 23:21:35 JST
Kouhei Sutou 2012-04-16 23:21:35 +0900 (Mon, 16 Apr 2012) New Revision: 215bbcbf588c00aeb3d66710ccb0bf3934b12ef7 Log: cmake: use C flags got by mysql-config Modified files: CMakeLists.txt Modified: CMakeLists.txt (+2 -1) =================================================================== --- CMakeLists.txt 2012-04-16 23:16:39 +0900 (48972c6) +++ CMakeLists.txt 2012-04-16 23:21:35 +0900 (c5e70df) @@ -83,7 +83,8 @@ add_library(ha_mroonga MODULE ${LIBMRN_NO_MYSQL_SOURCES} ${LIBMRN_NEED_MYSQL_SOURCES}) set_source_files_properties(${MROONGA_SOURCES} PROPERTIES - COMPILE_FLAGS "-Werror -fno-implicit-templates -fno-exceptions -fno-rtti -felide-constructors") + COMPILE_FLAGS + "${MYSQL_CFLAGS} -Werror -fno-implicit-templates -fno-exceptions -fno-rtti -felide-constructors") set_target_properties(ha_mroonga PROPERTIES COMPILE_DEFINITIONS "MYSQL_DYNAMIC_PLUGIN" PREFIX ""