Skip to content

Commit

Permalink
Disable PIC on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jul 16, 2024
1 parent 92d0350 commit 3561a7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/cmake/OptionsJSCOnly.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ if (USE_BUN_JSC_ADDITIONS)

if (WIN32)
SET_AND_EXPOSE_TO_BUILD(JS_NO_EXPORT 1)
elseif (APPLE)
else ()
set(CMAKE_POSITION_INDEPENDENT_CODE False)
endif()

endif ()
Expand Down

0 comments on commit 3561a7f

Please sign in to comment.