mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 00:09:32 +02:00
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:
parent
60a2725d2b
commit
855efcaad6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user