Add -mdynamic-no-pic to compile flags for gcc. On Mac OS X and Darwin,
authorRobert Bowdidge <bowdidge@apple.com>
Tue, 17 Aug 2004 20:02:46 +0000 (13:02 -0700)
committerRobert Bowdidge <bowdidge@gcc.gnu.org>
Tue, 17 Aug 2004 20:02:46 +0000 (13:02 -0700)
commitf4e736dd1daabcb33346f5a705ac6539a29528df
treeb7c2b0c6632e7bc81410b174ebb8cc40e604c1d1
parent8f78f01f72f21078e0169abe6c214e62a1414c93
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
gcc/ChangeLog
gcc/config/rs6000/x-darwin