* darwin: remove some leftover resource-spec structures from i_bsd, clean up some related darwin specific int/ext resource handling in options

git-svn-id: trunk@44455 -
This commit is contained in:
Károly Balogh 2020-03-31 04:57:08 +00:00
parent 69fb20784a
commit 8bdcf4273d
3 changed files with 2 additions and 24 deletions

View File

@ -107,8 +107,7 @@ uses
llvminfo,
{$endif llvm}
dirparse,
pkgutil,
i_bsd;
pkgutil;
const
page_size = 24;
@ -2432,7 +2431,6 @@ begin
begin
if (target_info.system in systems_darwin) then
begin
RegisterRes(res_macosx_ext_info,TWinLikeResourceFile);
set_target_res(res_ext);
target_info.resobjext:='.fpcres';
end

View File

@ -33,27 +33,6 @@ unit i_bsd;
systems;
const
res_macho_info : tresinfo =
(
id : res_macho;
resbin : 'fpcres';
rescmd : '-o $OBJ -a $ARCH -s $SUBARCH -of mach-o $DBG';
rcbin : 'windres';
rccmd : '--include $INC -O res -D FPC -o $RES $RC';
resourcefileclass : nil;
resflags : [];
);
res_macosx_ext_info : tresinfo =
(
id : res_ext;
resbin : 'fpcres';
rescmd : '-o $OBJ -a $ENDIAN -of external $DBG';
rcbin : 'windres';
rccmd : '--include $INC -O res -D FPC -o $RES $RC';
resourcefileclass : nil;
resflags : [res_external_file,res_arch_in_file_name];
);
system_i386_freebsd_info : tsysteminfo =
(
system : system_i386_FreeBSD;

View File

@ -769,5 +769,6 @@ initialization
{$endif aarch64}
RegisterRes(res_macho_info,TWinLikeResourceFile);
RegisterRes(res_macosx_ext_info,TWinLikeResourceFile);
end.