mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-03 09:30:35 +02:00
* OpenBSD gets no pie. (add -nopie)
git-svn-id: trunk@28736 -
This commit is contained in:
parent
e012b4fa23
commit
ff2186ce00
@ -695,6 +695,11 @@ begin
|
||||
else
|
||||
DynLinKStr:=DynLinkStr+' -dynamic'; // one dash!
|
||||
end;
|
||||
|
||||
{ Use -nopie on OpenBSD }
|
||||
if (target_info.system in systems_openbsd) then
|
||||
Info.ExtraOptions:=Info.ExtraOptions+' -nopie';
|
||||
|
||||
{ Write used files and libraries }
|
||||
WriteResponseFile(false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user