configure flag that enables/disables -g
Posted: 2012-03-09T09:36:20-07:00
I understand that I can turn off compilation with debugging (the -g flag of GCC, for example) by explicitly setting CFLAGS and CXXFLAGS, however it is my opinion that debugging should be off by default and that there should be a "with debugging" flag that can be passed to configure.
This would make things more foolproof for users who compile from source, and then, by default, performance/executable size would not be affected.
(I have not checked whether it is only bleeding edge svn which configures with -g by default.)
This would make things more foolproof for users who compile from source, and then, by default, performance/executable size would not be affected.
(I have not checked whether it is only bleeding edge svn which configures with -g by default.)