From 39697835f3916c9ec088fe372dd25e69645c829f Mon Sep 17 00:00:00 2001 From: Nathan Date: Sat, 7 Sep 2024 09:15:05 -0600 Subject: [PATCH] Actually remove config.debug all the way (#36) --- configure.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.py b/configure.py index 8d42031..d82c01e 100755 --- a/configure.py +++ b/configure.py @@ -111,13 +111,14 @@ config = ProjectConfig() config.version = str(args.version) version_num = VERSIONS.index(config.version) +debug = args.debug + # Apply arguments config.build_dir = args.build_dir config.dtk_path = args.dtk config.objdiff_path = args.objdiff config.binutils_path = args.binutils config.compilers_path = args.compilers -config.debug = args.debug config.generate_map = args.map config.non_matching = args.non_matching config.sjiswrap_path = args.sjiswrap @@ -183,7 +184,7 @@ if config.generate_map: # List unused symbols when generating a map file config.ldflags.append("-mapunused") -if config.debug: +if debug: # Debug flags cflags_base.extend(["-sym on", "-DDEBUG=1"]) config.ldflags.append("-g")