Skip to content
Snippets Groups Projects
Commit f4e736dd authored by Robert Bowdidge's avatar Robert Bowdidge Committed by Robert Bowdidge
Browse files

Add -mdynamic-no-pic to compile flags for gcc. On Mac OS X and Darwin,

the compiler generates position-independent-code by default.  This allows
an object file to be used for a dylib or executable without any thought
on the developer's part, but generates less-efficient code.  Setting this
flag on gcc speeds compiles by 3-5%.
        * config/rs6000/x-darwin: Add -mdynamic-no-pic to gcc build flags.

From-SVN: r86141
parent 8f78f01f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment