public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Iain D Sandoe <iains@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-11377] Darwin: Handle -dynamiclib on cc1 lines. Date: Sat, 27 Apr 2024 16:07:45 +0000 (GMT) [thread overview] Message-ID: <20240427160745.1AD3A3858D1E@sourceware.org> (raw) https://gcc.gnu.org/g:a68f243ec78b96bce9f10ad4c2c86c1b2e6015b7 commit r11-11377-ga68f243ec78b96bce9f10ad4c2c86c1b2e6015b7 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> (cherry picked from commit 3b18fd28c83ac90bf408389c003ed25d93438210) 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 430f12662e9..ef598f10c90 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -288,7 +288,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 { \
reply other threads:[~2024-04-27 16:07 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20240427160745.1AD3A3858D1E@sourceware.org \ --to=iains@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).