public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4262] Darwin: Handle -dynamiclib on cc1 lines.
@ 2023-09-26 8:51 Iain D Sandoe
0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2023-09-26 8:51 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3b18fd28c83ac90bf408389c003ed25d93438210
commit r14-4262-g3b18fd28c83ac90bf408389c003ed25d93438210
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Tue Sep 26 09:47:46 2023 +0100
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>
Diff:
---
gcc/config/darwin.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 61e46f76b22..2ee66c1a3d1 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 { \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-26 8:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-26 8:51 [gcc r14-4262] Darwin: Handle -dynamiclib on cc1 lines Iain D Sandoe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).