From: Jean-Philippe Bruyère Date: Sat, 25 Mar 2023 10:48:33 +0000 (+0100) Subject: remove -ansi compile option on android and unix X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=0a181e01c758691d981c6d5ed2b17c1d7e95c284;p=jp%2Fvkvg.git remove -ansi compile option on android and unix --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 175c8d8..7ca5d05 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,9 +51,9 @@ ELSE() UNSET(VKVG_WIRED_FILL CACHE) UNSET(VKVG_USE_MESA_OVERLAY CACHE) IF (ANDROID) - ADD_COMPILE_OPTIONS(-O3 -w -ansi -pedantic) + ADD_COMPILE_OPTIONS(-O3 -w -pedantic) ELSEIF (UNIX) - ADD_COMPILE_OPTIONS(-O3 -w -ansi -pedantic -fvisibility=hidden -fno-rtti) + ADD_COMPILE_OPTIONS(-O3 -w -pedantic -fvisibility=hidden -fno-rtti) #ADD_COMPILE_OPTIONS(-flto -pthread -lpthread -Wl,--no-as-needed) ELSEIF(MSVC) ADD_COMPILE_OPTIONS(/O2 /TC /W0 /Od)