From 3290af072f4c6798988e8325084cd0e969ad28d8 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 19 Jun 2022 20:47:43 +0100 Subject: [PATCH] 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) --- gcc/config/darwin.h | 3 +-- gcc/testsuite/lib/g++.exp | 4 ---- gcc/testsuite/lib/obj-c++.exp | 4 ---- libstdc++-v3/testsuite/lib/libstdc++.exp | 3 --- 4 files changed, 1 insertion(+), 13 deletions(-) diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index a967f7bb814f..23708861166b 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -217,8 +217,7 @@ extern GTY(()) int darwin_ms_struct; "%{image_base*:-Xlinker -image_base -Xlinker %*} %