diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2023-09-26 09:47:46 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2023-09-26 09:50:02 +0100 |
commit | 3b18fd28c83ac90bf408389c003ed25d93438210 (patch) | |
tree | a7d9bbec8a48d2ca7dc3e0ea31c045b3c6c468b2 /gcc | |
parent | 1fab441d6cce836e08db516c0fdac407872c6990 (diff) | |
download | gcc-3b18fd28c83ac90bf408389c003ed25d93438210.zip gcc-3b18fd28c83ac90bf408389c003ed25d93438210.tar.gz gcc-3b18fd28c83ac90bf408389c003ed25d93438210.tar.bz2 |
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>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/darwin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 61e46f7..2ee66c1 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -307,7 +307,7 @@ extern GTY(()) int darwin_ms_struct; %:version-compare(>= 10.7 mmacosx-version-min= -no_pie) }" #define DARWIN_CC1_SPEC \ - "%<dynamic %<force_cpusubtype_ALL %<multiply_defined* " + "%<dynamic %<force_cpusubtype_ALL %<multiply_defined* %<dynamiclib" #define SUBSUBTARGET_OVERRIDE_OPTIONS \ do { \ |