mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 03:46:10 +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}
|
{$ELSE}
|
||||||
fksysutl,
|
fksysutl,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
{ comphook pulls in sysutils anyways }
|
{ comphook pulls in sysutils anyways }
|
||||||
cutils,cclasses,cfileutl,
|
cutils,cclasses,cfileutl,
|
||||||
cpuinfo,
|
cpuinfo,
|
||||||
@ -835,6 +834,8 @@ implementation
|
|||||||
Replace(s,'$FPCTARGET',target_os_string)
|
Replace(s,'$FPCTARGET',target_os_string)
|
||||||
else
|
else
|
||||||
Replace(s,'$FPCTARGET',target_full_string);
|
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}
|
{$ifdef mswindows}
|
||||||
ReplaceSpecialFolder('$LOCAL_APPDATA',CSIDL_LOCAL_APPDATA);
|
ReplaceSpecialFolder('$LOCAL_APPDATA',CSIDL_LOCAL_APPDATA);
|
||||||
ReplaceSpecialFolder('$APPDATA',CSIDL_APPDATA);
|
ReplaceSpecialFolder('$APPDATA',CSIDL_APPDATA);
|
||||||
|
Loading…
Reference in New Issue
Block a user