gcc/fox-compile: Build without optimizations

This commit is contained in:
Ry 2023-02-28 17:30:46 -08:00
parent 5c94905a98
commit 9d6a423684

View File

@ -36,7 +36,7 @@ class GCC(Flavor):
@classmethod
def invoke(self, command, c_file, s_file):
run([command, '-march=rv32im', '-mabi=ilp32', '-Os', '-S', c_file, '-o', s_file])
run([command, '-march=rv32im', '-mabi=ilp32', '-O0', '-S', c_file, '-o', s_file])
class GPlusPlus(GCC):
basename = 'g++'