1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 06:50:27 +00:00

mymake:: added -march=native

This commit is contained in:
Zeno Rogue 2021-09-04 21:57:01 +02:00
parent 97ec940744
commit d97c4bbde3

View File

@ -62,7 +62,7 @@ string os = "linux";
void set_linux() { void set_linux() {
preprocessor = "g++ -E"; 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"; linker = "g++ -rdynamic -o hyper";
if(sdlver == 2) { if(sdlver == 2) {
opts = "-DFHS -DLINUX -I/usr/include/SDL2"; opts = "-DFHS -DLINUX -I/usr/include/SDL2";