Merge commit 48814:

------------------------------------------------------------------------
r48814 | pierre | 2021-02-26 17:15:30 +0000 (Fri, 26 Feb 2021) | 1 line

 Do not add libgcc directory to library directories with -Fl option if -Xd option is used
------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@48854 -
This commit is contained in:
pierre 2021-03-01 18:23:01 +00:00
parent 60a2725d2b
commit 855efcaad6

View File

@ -6811,7 +6811,9 @@ begin
FreeAndNil(L);
// libc-linker path
if APackage.NeedLibC then
// Do not add it if -Xd option is used
if APackage.NeedLibC and
((not Defaults.HaveOptions) or (Defaults.Options.IndexOf('-Xd')=-1)) then
begin
if FCachedlibcPath='' then
begin