diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-05-28 14:18:03 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-05-28 14:18:03 +0200 |
| commit | a991dc2d8ab49236986d7f4196576eb2da006272 (patch) | |
| tree | e05685da7ae7f645449a9a420abab5708e63241d | |
| parent | 2b4afbd79423d83c95385da56571bc31c7ae3f39 (diff) | |
remove flto compile option, multithreading problem, maybe a gcc bug
| -rw-r--r-- | CMakeLists.txt | 4 | ||||
| m--------- | vkh | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ab78b6..53b1735 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,8 +52,8 @@ ELSE() IF (ANDROID) ADD_COMPILE_OPTIONS(-O3 -w -ansi -pedantic) ELSEIF (UNIX) - ADD_COMPILE_OPTIONS(-O3 -w -ansi -pedantic -fvisibility=hidden -flto -fno-rtti) - #ADD_COMPILE_OPTIONS("-Wl,--exclude-libs,ALL") + ADD_COMPILE_OPTIONS(-O3 -w -ansi -pedantic -fvisibility=hidden -fno-rtti) + #ADD_COMPILE_OPTIONS(-flto -pthread -lpthread -Wl,--no-as-needed) ELSEIF(MSVC) ADD_COMPILE_OPTIONS(/O2 /TC /W0) ENDIF() diff --git a/vkh b/vkh -Subproject 75e8dc3c818ea9ed8d52c840b46c3a4c2c8f2fb +Subproject 0a1ffaf552f116b0990c4968760de494b0ad5a9 |