mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-16 01:19:25 +01:00
* do not call the internal assembler if -s is passed
git-svn-id: trunk@41126 -
This commit is contained in:
parent
007f266ccf
commit
6c88894999
@ -4004,8 +4004,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 ((cs_asm_leave in init_settings.globalswitches) and
|
||||||
(af_outputbinary in target_asm.flags) then
|
(af_outputbinary in target_asm.flags)) or
|
||||||
|
{ if -s is passed, we shouldn't call the internal assembler }
|
||||||
|
(cs_asm_extern in init_settings.globalswitches) then
|
||||||
begin
|
begin
|
||||||
Message(option_switch_bin_to_src_assembler);
|
Message(option_switch_bin_to_src_assembler);
|
||||||
set_target_asm(target_info.assemextern);
|
set_target_asm(target_info.assemextern);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user