fabiensanglard / dc

Driving Compilers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cc.php: -flto parameter position

denilsonsa opened this issue · comments

In both GCC's LTO and LLVM's LTO, at one command-line the -flto parameter is at the end, and a few lines later this parameter was moved to the middle.

If the placement of the parameter doesn't affect the compiler behavior, I'd suggest keeping it always at the same location in the example commands; otherwise the reader might be confused (like me), thinking the location of the parameter is important for some reason.

commented

Flags order has no incidence, contrary to .o and .a. If you want to add a trivia to clarify, I would merge it.