How to pass -g3 flag to GCC via Make command line?
Asked 2011-09-25T06:25:51.383
35
My project compiled with -g option instead of -g3, which means that I can't expand macros in gdb. I want to add the -g3 flag to GCC, but I don't want to modify the makefile, I just want to add this flag via the Make command line.