From 9d6a4236841fbb626267508945c1e600c339da64 Mon Sep 17 00:00:00 2001 From: Ry Date: Tue, 28 Feb 2023 17:30:46 -0800 Subject: [PATCH] gcc/fox-compile: Build without optimizations --- gcc/fox32-compile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/fox32-compile b/gcc/fox32-compile index facf4cc..bd19477 100755 --- a/gcc/fox32-compile +++ b/gcc/fox32-compile @@ -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++'