pass non-cppipe options to the compiler

This commit is contained in:
vrd
2025-06-06 18:00:38 +03:00
parent 370995978c
commit 7f3794e742
3 changed files with 18 additions and 7 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ const char* CXX = "c++";
#define DEBUG_FLAGS "-g"
// ...when not debugging
#define RELEASE_FLAGS "-Ofast", "-s"
// -O2 seems to work best for both execution and compilation speed
#define RELEASE_FLAGS "-O2", "-s"
// ...for both C and C++
#define CPPFLAGS "-fwhole-program", "-march=native", "-Wall", "-Wextra", "-pipe"