diff --git a/configtool.default.ini b/configtool.default.ini index 1fd280e..5c887ab 100644 --- a/configtool.default.ini +++ b/configtool.default.ini @@ -23,7 +23,7 @@ cflags = -DF_CPU=%F_CPU% -mmcu=%CPU% -Wall -Wstrict-prototypes -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Winline -fno-move-loop-invariants -fno-tree-scev-cprop -Os -ffunction-sections -finline-functions-called-once -mcall-prologues - -Wa,-adhlns=build/%ALNAME% -save-temps=obj + -Wa,-adhlns=%ALNAME% -save-temps=obj # Flags passed to avr-gcc to be passed on to the linker. ldflags = -Wl,--as-needed -Wl,--gc-sections diff --git a/configtool/build.py b/configtool/build.py index ab64313..abe8c3a 100644 --- a/configtool/build.py +++ b/configtool/build.py @@ -183,10 +183,11 @@ class Build(wx.Dialog): ofile = basename + ".o" alfile = basename + ".al" opath = "\"" + join(self.root, "build", ofile) + "\"" + alpath = "\"" + join(self.root, "build", alfile) + "\"" cpath = "\"" + join(self.root, f) + "\"" opts = self.settings.cflags - opts = opts.replace("%ALNAME%", alfile) + opts = opts.replace("%ALNAME%", alpath) opts = opts.replace("%F_CPU%", self.f_cpu) opts = opts.replace("%CPU%", self.cpu)