mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 20:20:30 +02:00
Add x86_64-openbsd to LLVM supported list
This commit is contained in:
parent
2ba3a9521c
commit
71ec7a94d1
@ -386,7 +386,7 @@ ifeq ($(findstring $(PPC_TARGET),x86_64 aarch64 arm),)
|
||||
$(error The $(PPC_TARGET) architecture is not (yet) supported by the FPC/LLVM code generator)
|
||||
endif
|
||||
|
||||
ifeq ($(findstring $(OS_TARGET),darwin iphonesim linux),)
|
||||
ifeq ($(findstring $(OS_TARGET),darwin iphonesim linux openbsd),)
|
||||
$(error The $(OS_TARGET) target OS is not (yet) supported by the FPC/LLVM code generator)
|
||||
endif
|
||||
|
||||
|
@ -1789,7 +1789,7 @@ implementation
|
||||
idtxt : 'CLANG-LLVM';
|
||||
asmbin : 'clang';
|
||||
asmcmd: '-x ir $OPT -target $TRIPLET -c -o $OBJ $ASM $EXTRAOPT';
|
||||
supported_targets : [system_x86_64_linux,system_aarch64_linux,system_arm_linux];
|
||||
supported_targets : [system_x86_64_linux,system_aarch64_linux,system_arm_linux,system_x86_64_openbsd];
|
||||
flags : [af_smartlink_sections,af_llvm];
|
||||
labelprefix : '.L';
|
||||
labelmaxlen : -1;
|
||||
|
@ -466,7 +466,10 @@ unit i_bsd;
|
||||
flags : [tf_needs_symbol_size,tf_needs_dwarf_cfi,tf_library_needs_pic,tf_needs_symbol_type,
|
||||
tf_files_case_sensitive, tf_under_development,
|
||||
tf_dwarf_only_local_labels, tf_pic_default,
|
||||
{ tf_pic_uses_got,}tf_smartlink_sections,tf_has_winlike_resources,tf_supports_hidden_symbols];
|
||||
{$ifdef llvm}
|
||||
tf_use_psabieh,
|
||||
{$endif llvm}
|
||||
{ tf_pic_uses_got,}tf_smartlink_sections,tf_has_winlike_resources,tf_supports_hidden_symbols];
|
||||
cpu : cpu_x86_64;
|
||||
unit_env : 'BSDUNITS';
|
||||
extradefines : 'UNIX;HASUNIX;BSD';
|
||||
|
Loading…
Reference in New Issue
Block a user