mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 19:29:39 +02:00
arm-netbsd: append -N to the command line. lets figure out later if this is the right solution here
git-svn-id: trunk@38590 -
This commit is contained in:
parent
5e8e9efd83
commit
626dc172ee
@ -796,12 +796,16 @@ begin
|
|||||||
else
|
else
|
||||||
DynLinKStr:=DynLinkStr+' -dynamic'; // one dash!
|
DynLinKStr:=DynLinkStr+' -dynamic'; // one dash!
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ Use -nopie on OpenBSD }
|
{ Use -nopie on OpenBSD }
|
||||||
if (target_info.system in systems_openbsd) and
|
if (target_info.system in systems_openbsd) and
|
||||||
(target_info.system <> system_x86_64_openbsd) then
|
(target_info.system <> system_x86_64_openbsd) then
|
||||||
Info.ExtraOptions:=Info.ExtraOptions+' -nopie';
|
Info.ExtraOptions:=Info.ExtraOptions+' -nopie';
|
||||||
|
|
||||||
|
{ -N seems to be needed on NetBSD/earm }
|
||||||
|
if (target_info.system in [system_arm_netbsd]) then
|
||||||
|
Info.ExtraOptions:=Info.ExtraOptions+' -N';
|
||||||
|
|
||||||
{ Write used files and libraries }
|
{ Write used files and libraries }
|
||||||
WriteResponseFile(false);
|
WriteResponseFile(false);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user