Replace all "-gdwarf-2" with "-g" to use the compiler defaults.