Procházet zdrojové kódy

cmake: Remove pagezero_size from linker options

Previous versions of LuaJIT required setting linker options
-pagezero_size and -image_base.  This was accomplished in commit
c9224edbad, but as of LuaJIT 2.1, this is no longer necessary, and
doing so results in the application being killed when run natively
on macOS ARM targets.
Doug Kelly před 4 roky
rodič
revize
437ba31cf6
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      UI/CMakeLists.txt

+ 0 - 1
UI/CMakeLists.txt

@@ -419,7 +419,6 @@ target_link_libraries(obs
 if (APPLE)
 	target_link_libraries(obs
 			Qt5::MacExtras)
-	set_target_properties(obs PROPERTIES LINK_FLAGS "-pagezero_size 10000 -image_base 100000000")
 endif()
 set_target_properties(obs PROPERTIES FOLDER "frontend")