mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 15:47:52 +02:00
Add systems_openbsd to suppported_targets_x_smallr and modify GenerateExecutable in t_bsd unit accordingly
git-svn-id: trunk@49229 -
This commit is contained in:
parent
f9957f30a5
commit
70760208bb
@ -140,6 +140,7 @@ const
|
||||
|
||||
|
||||
suppported_targets_x_smallr = systems_linux + systems_solaris + systems_android
|
||||
+ systems_openbsd
|
||||
+ [system_i386_haiku,system_x86_64_haiku]
|
||||
+ [system_i386_beos]
|
||||
+ [system_m68k_amiga];
|
||||
|
@ -482,12 +482,14 @@ begin
|
||||
(tf_smartlink_sections in target_info.flags) then
|
||||
GCSectionsStr:='--gc-sections';
|
||||
|
||||
if(cs_profile in current_settings.moduleswitches) or
|
||||
if (cs_profile in current_settings.moduleswitches) or
|
||||
((Info.DynamicLinker<>'') and
|
||||
((not SharedLibFiles.Empty) or
|
||||
(target_info.system in systems_openbsd))) then
|
||||
DynLinkStr:='-dynamic-linker='+Info.DynamicLinker;
|
||||
DynLinkStr:='-dynamic-linker='+Info.DynamicLinker;
|
||||
|
||||
if rlinkpath<>'' then
|
||||
DynLinkStr:=DynLinkStr+' --rpath-link '+rlinkpath;
|
||||
if CShared Then
|
||||
begin
|
||||
DynLinKStr:=DynLinkStr+' --shared'
|
||||
|
Loading…
Reference in New Issue
Block a user