* fixed the default external assembler for llvm when using -s

git-svn-id: trunk@41207 -
This commit is contained in:
Jonas Maebe 2019-02-03 21:01:13 +00:00
parent 1abea6451c
commit 13ce27cc1d

View File

@ -4022,7 +4022,11 @@ begin
(cs_asm_extern in init_settings.globalswitches) then
begin
Message(option_switch_bin_to_src_assembler);
{$ifdef llvm}
set_target_asm(as_llvm_clang);
{$else}
set_target_asm(target_info.assemextern);
{$endif}
{ At least i8086 needs that for nasm and -CX
which is incompatible with internal linker }
option.checkoptionscompatibility;