]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
use -O3 for C++ code as well, makes a difference
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Mon, 22 Mar 2021 17:43:38 +0000 (19:43 +0200)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Tue, 12 Oct 2021 08:51:33 +0000 (11:51 +0300)
CMakeLists.txt

index 420a8ecd577b499aa20b3dbef439b766d0943c7c..c3f6b49bfa2572d0b634a7309d1f8752fda671a1 100644 (file)
@@ -225,7 +225,7 @@ else()
     if(OPTIMISE)
         if (NOT CMAKE_BUILD_TYPE MATCHES MINSIZEREL)
             set(OPT_C_FLAG "-O3")
-            set(OPT_CXX_FLAG "-O2")
+            set(OPT_CXX_FLAG "-O3")
         else ()
             set(OPT_C_FLAG "-Os")
             set(OPT_CXX_FLAG "-Os")