]> git.ipfire.org Git - thirdparty/gcc.git/commit
Darwin: Handle -dynamiclib on cc1 lines.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 26 Sep 2023 08:47:46 +0000 (09:47 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Tue, 26 Sep 2023 08:50:02 +0000 (09:50 +0100)
commit3b18fd28c83ac90bf408389c003ed25d93438210
treea7d9bbec8a48d2ca7dc3e0ea31c045b3c6c468b2
parent1fab441d6cce836e08db516c0fdac407872c6990
Darwin: Handle -dynamiclib on cc1 lines.

The changes of r14-4172 missed a case where we accept -dynamiclib on the
command line and then pass it to cc1 (which does not accept it).

This prunes the -dynamiclib from cc1 lines.

gcc/ChangeLog:

* config/darwin.h (DARWIN_CC1_SPEC): Remove -dynamiclib.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/config/darwin.h