From d97c4bbde3e85e5f8b60021fc1c3fe207b30e510 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 4 Sep 2021 21:57:01 +0200 Subject: [PATCH] mymake:: added -march=native --- mymake.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mymake.cpp b/mymake.cpp index b1d7d722..5179619c 100644 --- a/mymake.cpp +++ b/mymake.cpp @@ -62,7 +62,7 @@ string os = "linux"; void set_linux() { preprocessor = "g++ -E"; - compiler = "g++ -Wall -Wextra -Wno-maybe-uninitialized -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-invalid-offsetof -rdynamic -fdiagnostics-color=always -c"; + compiler = "g++ -Wall -Wextra -Wno-maybe-uninitialized -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-invalid-offsetof -rdynamic -fdiagnostics-color=always -c -march=native"; linker = "g++ -rdynamic -o hyper"; if(sdlver == 2) { opts = "-DFHS -DLINUX -I/usr/include/SDL2";