mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:29:29 +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_netbsd]
|
||||
+ [system_i386_wdosx];
|
||||
|
||||
suppported_targets_x_smallr = system_linux
|
||||
+ [system_i386_haiku]
|
||||
+ [system_i386_beos];
|
||||
|
||||
{****************************************************************************
|
||||
Defines
|
||||
@ -1617,9 +1621,14 @@ begin
|
||||
'p' : ; { Ignore used by fpc.pp }
|
||||
'r' :
|
||||
begin
|
||||
rlinkpath:=Copy(more,2,length(More)-1);
|
||||
DefaultReplacements(rlinkpath);
|
||||
More:='';
|
||||
if (target_info.system in suppported_targets_x_smallr) then
|
||||
begin
|
||||
rlinkpath:=Copy(more,2,length(More)-1);
|
||||
DefaultReplacements(rlinkpath);
|
||||
end
|
||||
else
|
||||
UnsupportedPara('-Xr');
|
||||
more:='';
|
||||
end;
|
||||
'R' :
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user