[LLVMdev] What is the gcc optimization flag for "ENABLE_OPTIMIZED=1" in LLVM?

Óscar Fuentes ofv at wanadoo.es
Sun Aug 8 13:40:33 PDT 2010

Heming Cui <heming at cs.columbia.edu> writes:

>     I am wondering the gcc optimization flag for "ENABLE_OPTIMIZED=1" in
> LLVM is -O2 or -O3.
>     And what is the flag if I set "ENABLE_OPTIMIZED=0"?


make VERBOSE=1

That would show on the console the full command used for compiling each

>     If I want to manually modify the flag for "ENABLE_OPTIMIZED=1" in LLVM,
> what file should I refer to?

Makefile.rules ?

More information about the llvm-dev mailing list