2018-06-12 16:34:07 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2019-05-18 04:44:32 +08:00
|
|
|
index 95bb132..fbd624d 100644
|
2018-06-12 16:34:07 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2019-05-18 04:44:32 +08:00
|
|
|
@@ -237,7 +237,7 @@ if(${BUILD_PROMETHEUS})
|
|
|
|
target_compile_definitions(${PROJECT_NAME} PUBLIC USE_PROMETHEUS=1)
|
|
|
|
endif()
|
2018-06-12 16:34:07 +08:00
|
|
|
|
|
|
|
-set(TARGET_COMPILE_FLAGS "${TARGET_COMPILE_FLAGS} ${GOOG_CXX_FLAGS}")
|
|
|
|
+set(TARGET_COMPILE_FLAGS "-D_DISABLE_EXTENDED_ALIGNED_STORAGE ${TARGET_COMPILE_FLAGS} ${GOOG_CXX_FLAGS}")
|
|
|
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
|
|
|
COMPILE_FLAGS ${TARGET_COMPILE_FLAGS})
|
|
|
|
|