mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
Build GPU hold regression with MinGW link-time section removal
This commit is contained in:
@@ -980,6 +980,10 @@ if(BUILD_TESTING)
|
||||
src/psx_video_timing.c
|
||||
src/gpu_timeline.c)
|
||||
target_include_directories(depth24_present_hold_exec_test PRIVATE include src)
|
||||
if(MINGW)
|
||||
target_compile_options(depth24_present_hold_exec_test PRIVATE -flto)
|
||||
target_link_options(depth24_present_hold_exec_test PRIVATE -flto)
|
||||
endif()
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang")
|
||||
target_compile_options(depth24_present_hold_exec_test PRIVATE
|
||||
-ffunction-sections -fdata-sections)
|
||||
|
||||
Reference in New Issue
Block a user