Skip to content

Commit

Permalink
Fix compiler flags again
Browse files Browse the repository at this point in the history
  • Loading branch information
190n committed Dec 5, 2024
1 parent df743be commit 522ff4c
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions Source/cmake/WebKitCompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,21 @@ if (COMPILER_IS_GCC_OR_CLANG)
WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-pipe)

if (USE_BUN_JSC_ADDITIONS)
WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-Wl,-u,_WTFTimer__create
-Wl,-u,_WTFTimer__update
-Wl,-u,_WTFTimer__deinit
-Wl,-u,_WTFTimer__isActive
-Wl,-u,_WTFTimer__secondsUntilTimer
-Wl,-u,_WTFTimer__cancel)
if (APPLE)
WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-Wl,-U,_WTFTimer__create
-Wl,-U,_WTFTimer__update
-Wl,-U,_WTFTimer__deinit
-Wl,-U,_WTFTimer__isActive
-Wl,-U,_WTFTimer__secondsUntilTimer
-Wl,-U,_WTFTimer__cancel)
else()
WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-Wl,-u,_WTFTimer__create
-Wl,-u,_WTFTimer__update
-Wl,-u,_WTFTimer__deinit
-Wl,-u,_WTFTimer__isActive
-Wl,-u,_WTFTimer__secondsUntilTimer
-Wl,-u,_WTFTimer__cancel)
endif()
endif ()
endif ()

Expand Down

0 comments on commit 522ff4c

Please sign in to comment.