I want to compile with optimization -O1, but there is a certain flag that it turns on that I do not want to use. How do I turn it off?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
There is usually an equivalent 'no' flag. For example, fstrict-aliasing
can be turned off by fno-strict-aliasing
. Check the gcc docs for more flags.