blade-build icon indicating copy to clipboard operation
blade-build copied to clipboard

cxxflags和optimize哪个优先级更高

Open 396848385 opened this issue 1 year ago • 1 comments

你好 想请教下比如在cxxflags和optimize中分别设置-O3和-O2选项 最终会以哪个为准呢

396848385 avatar Sep 12 '24 03:09 396848385

都会进命令行,gcc以后面出现的为准你用 --verbose看看输出的命令行吧。optimize只对release构建生效,debug构建时忽略。

On Thu, Sep 12, 2024, 11:09 396848385 @.***> wrote:

你好 想请教下比如在cxxflags和optimize中分别设置-O3和-O2选项 最终会以哪个为准呢

— Reply to this email directly, view it on GitHub https://github.com/chen3feng/blade-build/issues/1046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPH4SVBB6Z7F3I377DTNHLZWEAVRAVCNFSM6AAAAABOCG52LOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDCMRTGI4DINY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

chen3feng avatar Sep 12 '24 15:09 chen3feng