Remove sibling calls to make the disassembly cleaner.

This commit is contained in:
Ali Mashtizadeh 2023-08-30 15:12:24 -04:00
parent 1143dc1b3f
commit 3796627962

View File

@ -49,7 +49,8 @@ if 'LDFLAGS' in os.environ:
env.Append(LINKFLAGS = SCons.Util.CLVar(os.environ['LDFLAGS'])) env.Append(LINKFLAGS = SCons.Util.CLVar(os.environ['LDFLAGS']))
env.Append(CFLAGS = [ "-Wshadow", "-Wno-typedef-redefinition" ]) env.Append(CFLAGS = [ "-Wshadow", "-Wno-typedef-redefinition" ])
env.Append(CPPFLAGS = [ "-fno-builtin", "-fno-stack-protector" ]) env.Append(CPPFLAGS = [ "-fno-builtin", "-fno-stack-protector",
"-fno-optimize-sibling-calls" ])
if (env["STRICT"] == "1"): if (env["STRICT"] == "1"):
env.Append(CPPFLAGS = [ "-Wformat=2", "-Wmissing-format-attribute", env.Append(CPPFLAGS = [ "-Wformat=2", "-Wmissing-format-attribute",