[cfe-dev] Clang default compiler options

Ambuj Agrawal ambujbwt at gmail.com
Fri Mar 13 10:12:37 PDT 2015


Hi,

I am trying to add compiler default setting in Clang so that I dont have to
pass them on command line.

For example:
Instead of calling
clang -O3
I just want to call clang in command line which has by default -O3 flag
passed to it.

Any clues on how this can be done?

Thanks,
Ambuj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150313/5ce36b2f/attachment.html>


More information about the cfe-dev mailing list