mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:09:27 +02:00
* 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:
parent
69fb20784a
commit
8bdcf4273d
@ -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
|
||||
|
@ -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;
|
||||
|
@ -769,5 +769,6 @@ initialization
|
||||
{$endif aarch64}
|
||||
|
||||
RegisterRes(res_macho_info,TWinLikeResourceFile);
|
||||
RegisterRes(res_macosx_ext_info,TWinLikeResourceFile);
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user