From 6c16e2911c2c53a7427c3cb6af3cbf69d46a668b Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sat, 27 Jan 2024 14:01:49 +0300 Subject: [PATCH] bytebeat_compiler.py: add more `CFLAGS` --- bytebeat_compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"] }