mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:09:27 +02:00
+ make $SUBARCH (cputypestr) and $FPCABI available to configuration files
git-svn-id: trunk@29124 -
This commit is contained in:
parent
0a3f00ef2f
commit
03521f0413
@ -41,7 +41,6 @@ interface
|
||||
{$ELSE}
|
||||
fksysutl,
|
||||
{$ENDIF}
|
||||
|
||||
{ comphook pulls in sysutils anyways }
|
||||
cutils,cclasses,cfileutl,
|
||||
cpuinfo,
|
||||
@ -835,6 +834,8 @@ implementation
|
||||
Replace(s,'$FPCTARGET',target_os_string)
|
||||
else
|
||||
Replace(s,'$FPCTARGET',target_full_string);
|
||||
Replace(s,'$SUBARCH',lower(cputypestr[init_settings.cputype]));
|
||||
Replace(s,'$FPCABI',lower(abiinfo[target_info.abi].name));
|
||||
{$ifdef mswindows}
|
||||
ReplaceSpecialFolder('$LOCAL_APPDATA',CSIDL_LOCAL_APPDATA);
|
||||
ReplaceSpecialFolder('$APPDATA',CSIDL_APPDATA);
|
||||
|
Loading…
Reference in New Issue
Block a user