From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id B4BEE3858D38; Mon, 22 Apr 2024 13:04:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B4BEE3858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713791090; bh=T5/y69ef0Qqnlqqks24BDfSsJpPzuMyXra4poY4gksg=; h=From:To:Subject:Date:From; b=FhGf2hpbU3XYqAwjrA/yE2LAUNrhOMmMzvLNN2Qkd1sCz2FHueUFE2Ce2fXM5Dt6q 2gnT5nJ9TvUh8t2ACgkry2edbP3Se5EmewrCIpvgptHRNFRWokjV+VlylkrRA3VxQS udgKiAin3fIERTwsbDfklg+N3HVcT8KVKfIPBG2A= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r11-11332] testsuite, Darwin: Remove an unnecessary flags addition. X-Act-Checkin: gcc X-Git-Author: Iain Sandoe X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: 889dccb5131cd52f3f7735dce7b02105cc067a9e X-Git-Newrev: b4ad231ce26a66a9e11f246df2c602626d99fc6a Message-Id: <20240422130450.B4BEE3858D38@sourceware.org> Date: Mon, 22 Apr 2024 13:04:50 +0000 (GMT) List-Id: https://gcc.gnu.org/g:b4ad231ce26a66a9e11f246df2c602626d99fc6a commit r11-11332-gb4ad231ce26a66a9e11f246df2c602626d99fc6a Author: Iain Sandoe Date: Sun Jun 19 20:47:43 2022 +0100 testsuite, Darwin: Remove an unnecessary flags addition. The addition of the multiply_defined suppress flag has been handled for some considerable time now in the Darwin specs; remove it from the testsuite libs. Avoid duplicates in the specs. Signed-off-by: Iain Sandoe gcc/ChangeLog: * config/darwin.h: Avoid duplicate multiply_defined specs on earlier Darwin versions with shared libgcc. libstdc++-v3/ChangeLog: * testsuite/lib/libstdc++.exp: Remove additional flag handled by Darwin specs. gcc/testsuite/ChangeLog: * lib/g++.exp: Remove additional flag handled by Darwin specs. * lib/obj-c++.exp: Likewise. (cherry picked from commit 3c776fdf1a825818ad7248d442e846f532574ff7) Diff: --- gcc/config/darwin.h | 5 ++--- gcc/testsuite/lib/g++.exp | 4 ---- gcc/testsuite/lib/obj-c++.exp | 4 ---- libstdc++-v3/testsuite/lib/libstdc++.exp | 3 --- 4 files changed, 2 insertions(+), 14 deletions(-) diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 504dfcec4da..b2bd33f8d4a 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -215,8 +215,7 @@ extern GTY(()) int darwin_ms_struct; "%{image_base*:-Xlinker -image_base -Xlinker %*} %= 10.7 mmacosx-version-min= -no_pie) }" #define DARWIN_CC1_SPEC \ - "%