OSDN Git Service

Add -mdynamic-no-pic to compile flags for gcc. On Mac OS X and Darwin,
authorbowdidge <bowdidge@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Aug 2004 20:02:46 +0000 (20:02 +0000)
committerbowdidge <bowdidge@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Aug 2004 20:02:46 +0000 (20:02 +0000)
commitb530556fb234dfa871cdb0b8668fe5c0c5c47d8b
treeb7c2b0c6632e7bc81410b174ebb8cc40e604c1d1
parent2cdbcd518576f50da06ceb5ede8e8ae7bd37ddb7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86141 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/x-darwin