mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-03 23:50:36 +02:00
* choose between arm (little endian) and armeb for fpcres based on the
target_info rather than based on the source_info git-svn-id: trunk@30217 -
This commit is contained in:
parent
eee83ebb4a
commit
6b9b575b74
@ -283,10 +283,10 @@ begin
|
||||
Replace(s,'$OBJ',maybequoted(OutName));
|
||||
subarch:='all';
|
||||
arch:=cpu2str[target_cpu];
|
||||
if (source_info.cpu=systems.cpu_arm) then
|
||||
if (target_info.cpu=systems.cpu_arm) then
|
||||
begin
|
||||
//Differentiate between arm and armeb
|
||||
if (source_info.endian=endian_big) then
|
||||
if (target_info.endian=endian_big) then
|
||||
arch:=arch+'eb';
|
||||
end;
|
||||
Replace(s,'$ARCH',arch);
|
||||
|
Loading…
Reference in New Issue
Block a user