Prechádzať 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 4 rokov pred
rodič
commit
437ba31cf6
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  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")