diff --git a/bytebeat_compiler.py b/bytebeat_compiler.py index f72bb92..0f03fca 100644 --- a/bytebeat_compiler.py +++ b/bytebeat_compiler.py @@ -34,7 +34,7 @@ PATHS["fwrite_le"] = path_join(".", PATHS["fwrite_le"]) # Default parameters DEFAULT_PARAMETERS = { "CC": "gcc", - "CFLAGS": "-Ofast -Wall -Wextra -Wpedantic -Wno-unused-variable -Wno-unused-but-set-variable -Wno-dangling-else -Wno-parentheses -std=c99", + "CFLAGS": "-Ofast -march=native -mtune=native -Wall -Wextra -Wpedantic -pedantic -Wno-unused-variable -Wno-unused-but-set-variable -Wno-dangling-else -Wno-parentheses -std=c99", "INPUT_FILE": PATHS["substitute"], "OUTPUT_FILE": PATHS["output"] }