mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
fix(libc): build libc without floating-point contraction
This commit is contained in:
1 parent
d2b3ee3bcc
commit
8c71024ea2
1 file changed
+4
@@ -115,6 +115,10 @@ target_include_directories(libc PRIVATE
|
||||
|
||||
target_link_libraries(libc PRIVATE zarchive)
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
|
||||
target_compile_options(libc PRIVATE -ffp-contract=off)
|
||||
endif()
|
||||
|
||||
if(BUILD_TESTING)
|
||||
add_test_executable(guest_update_env_tests ${LIBS_INCLUDE_DIR}/tests/GuestUpdateEnv.cpp)
|
||||
target_include_directories(guest_update_env_tests PRIVATE ${LIBS_INCLUDE_DIR})
|
||||
|
||||
Reference in new issue
Block a user