mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 20:29:14 +02:00
* force PIC on x86_64
git-svn-id: trunk@1741 -
This commit is contained in:
parent
5c92126933
commit
d06bdbba13
@ -1,6 +1,10 @@
|
||||
{ %NORUN }
|
||||
{ %SKIPTARGET=macos }
|
||||
|
||||
{$ifdef CPUX86_64}
|
||||
{$PIC+}
|
||||
{$endif CPUX86_64}
|
||||
|
||||
{ The .so of the library needs to be in the current dir when
|
||||
testing the loading at runtime }
|
||||
|
||||
@ -26,7 +30,7 @@ const
|
||||
procedure Test;export;
|
||||
|
||||
begin
|
||||
writeln('Hoi');
|
||||
// writeln('Hoi');
|
||||
end;
|
||||
|
||||
exports
|
||||
|
Loading…
Reference in New Issue
Block a user