AR# 24779


11.1 EDK - Removing the -g compiler option in the Software Platform Settings seems to have no effect


If I do not want to have debugging information passed into my executable, how can I make sure that the -g option is not passed?  


When I remove this setting in the Software Platform Settings dialog, the log shows that the -g was still passed.


The EXTRA_COMPILER_FLAGS field needs to have an option. When no options are present, the compiler defaults to the -g option.  


To work around this problem, pass another option that you know you will be using, such as an optimization level (-O0, -O1, etc.).

AR# 24779
Date 05/21/2014
Status Archive
Type General Article
People Also Viewed