mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
13 lines
411 B
Diff
13 lines
411 B
Diff
--- CMakeLists.txt.orig 2023-03-24 09:53:43.000000000 +0800
|
|
+++ CMakeLists.txt 2023-05-15 02:02:14.000000000 +0800
|
|
@@ -190,6 +190,9 @@
|
|
"${GRN_CXX_COMPILE_FLAGS} $<$<CONFIG:RelWithDebInfo>:/Ob2>")
|
|
endif()
|
|
|
|
+if(APPLE)
|
|
+ set(GRN_CXX_COMPILE_FLAGS "${GRN_CXX_COMPILE_FLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
|
|
+endif()
|
|
|
|
macro(check_cflag flag)
|
|
string(REGEX REPLACE "[-=]" "_" temporary_variable_name ${flag})
|