mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 00:29:20 +02:00
* give an error for -Xr on platforms where this parameter is ignored
git-svn-id: trunk@13640 -
This commit is contained in:
parent
fe20d5546e
commit
eb12fdb617
@ -120,6 +120,10 @@ const
|
|||||||
+ [system_i386_freebsd]
|
+ [system_i386_freebsd]
|
||||||
+ [system_i386_netbsd]
|
+ [system_i386_netbsd]
|
||||||
+ [system_i386_wdosx];
|
+ [system_i386_wdosx];
|
||||||
|
|
||||||
|
suppported_targets_x_smallr = system_linux
|
||||||
|
+ [system_i386_haiku]
|
||||||
|
+ [system_i386_beos];
|
||||||
|
|
||||||
{****************************************************************************
|
{****************************************************************************
|
||||||
Defines
|
Defines
|
||||||
@ -1617,9 +1621,14 @@ begin
|
|||||||
'p' : ; { Ignore used by fpc.pp }
|
'p' : ; { Ignore used by fpc.pp }
|
||||||
'r' :
|
'r' :
|
||||||
begin
|
begin
|
||||||
rlinkpath:=Copy(more,2,length(More)-1);
|
if (target_info.system in suppported_targets_x_smallr) then
|
||||||
DefaultReplacements(rlinkpath);
|
begin
|
||||||
More:='';
|
rlinkpath:=Copy(more,2,length(More)-1);
|
||||||
|
DefaultReplacements(rlinkpath);
|
||||||
|
end
|
||||||
|
else
|
||||||
|
UnsupportedPara('-Xr');
|
||||||
|
more:='';
|
||||||
end;
|
end;
|
||||||
'R' :
|
'R' :
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user