--- general.make.orig 2020-12-24 01:44:13.874889000 -0500 +++ general.make 2020-12-24 01:44:34.714359000 -0500 @@ -16,6 +16,7 @@ ADDITIONAL_OBJCFLAGS=-O2 ifeq ($(debug),yes) ADDITIONAL_OBJCFLAGS=-O0 +ADDITIONAL_OBJCFLAGS += -g $(call cc-option,-frecord-gcc-switches) else ADDITIONAL_OBJCFLAGS=-Wuninitialized endif @@ -23,5 +24,3 @@ # information plus the compiler flags used; that can # be afterwards read with: # readelf -p .GCC.command.line /path/to/elf_file -ADDITIONAL_OBJCFLAGS += -g $(call cc-option,-frecord-gcc-switches) -