From: Iain Sandoe Date: Sun, 19 Jun 2022 19:47:43 +0000 (+0100) Subject: testsuite, Darwin: Remove an unnecessary flags addition. X-Git-Tag: releases/gcc-11.5.0~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4ad231ce26a66a9e11f246df2c602626d99fc6a;p=thirdparty%2Fgcc.git 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 --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 504dfcec4da2..b2bd33f8d4ac 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 \ - "%