RetroArch
Debug Build(mame2010-libretro)
--- old_Makefile 2019-08-02 05:41:00.783662754 -0400 +++ new_Makefile 2019-08-02 05:41:13.507584412 -0400 @@ -561,7 +561,8 @@ DEFS += -DPTR64 endif -DEFS += -DNDEBUG +#DEFS += -DNDEBUG +DEFS += -ggdb # need to ensure FLAC functions are statically linked DEFS += -DFLAC__NO_DLL @@ -584,12 +585,12 @@ # this speeds it up a bit by piping between the preprocessor/compiler/assembler CCOMFLAGS += -pipe -ifeq ($(MDEBUG),1) -CCOMFLAGS += -O0 -g -else +#ifeq ($(MDEBUG),1) +#CCOMFLAGS += -O0 -g +#else # add the optimization flag -CCOMFLAGS += -O$(OPTIMIZE) -endif +#CCOMFLAGS += -O$(OPTIMIZE) +#endif # add the error warning flag ifndef NOWERROR