mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 03:09:24 +02:00
* don't override specified assembler on the command line when leaving
assembler files in case that specified assembler is already an external one git-svn-id: trunk@49137 -
This commit is contained in:
parent
4c40e7f9d6
commit
1b34fe90a3
@ -4450,10 +4450,10 @@ begin
|
|||||||
Message(option_w_unsupported_debug_format);
|
Message(option_w_unsupported_debug_format);
|
||||||
|
|
||||||
{ switch assembler if it's binary and we got -a on the cmdline }
|
{ switch assembler if it's binary and we got -a on the cmdline }
|
||||||
if ((cs_asm_leave in init_settings.globalswitches) and
|
if (af_outputbinary in target_asm.flags) and
|
||||||
(af_outputbinary in target_asm.flags)) or
|
((cs_asm_leave in init_settings.globalswitches) or
|
||||||
{ if -s is passed, we shouldn't call the internal assembler }
|
{ if -s is passed, we shouldn't call the internal assembler }
|
||||||
(cs_asm_extern in init_settings.globalswitches) then
|
(cs_asm_extern in init_settings.globalswitches)) then
|
||||||
begin
|
begin
|
||||||
Message(option_switch_bin_to_src_assembler);
|
Message(option_switch_bin_to_src_assembler);
|
||||||
{$ifdef llvm}
|
{$ifdef llvm}
|
||||||
|
Loading…
Reference in New Issue
Block a user