mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 00:01:52 -04:00
16 lines
609 B
CMake
16 lines
609 B
CMake
Index: Source/cmake/WebKitCompilerFlags.cmake
|
|
--- Source/cmake/WebKitCompilerFlags.cmake.orig
|
|
+++ Source/cmake/WebKitCompilerFlags.cmake
|
|
@@ -252,9 +252,9 @@ if (NOT MSVC)
|
|
string(REGEX MATCHALL "-fsanitize=[^ ]*" ENABLED_COMPILER_SANITIZERS ${CMAKE_CXX_FLAGS})
|
|
endif ()
|
|
|
|
-if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS)
|
|
- set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
|
|
-endif ()
|
|
+#if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS)
|
|
+# set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
|
|
+#endif ()
|
|
|
|
|
|
if (MSVC)
|