cmake: Fix clang

This commit is contained in:
yzct12345
2021-07-30 03:57:47 +00:00
committed by GitHub
parent ca8b36b0cf
commit 857f0e1f3e

View File

@@ -145,7 +145,7 @@ else()
endif()
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
add_compile_options(-fno-pie -no-pie)
add_compile_options(-fno-pie)
add_link_options(-no-pie)
endif()