Browse Source

* don't call assembler when using -s in combination with -ap (mantis #19401)

git-svn-id: trunk@17712 -
Jonas Maebe 14 years ago
parent
commit
a03a597374
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/assemble.pas

+ 1 - 1
compiler/assemble.pas

@@ -270,7 +270,7 @@ Implementation
     Function DoPipe:boolean;
     Function DoPipe:boolean;
       begin
       begin
         DoPipe:=(cs_asm_pipe in current_settings.globalswitches) and
         DoPipe:=(cs_asm_pipe in current_settings.globalswitches) and
-                (([cs_asm_leave,cs_link_on_target] * current_settings.globalswitches) = []) and
+                (([cs_asm_extern,cs_asm_leave,cs_link_on_target] * current_settings.globalswitches) = []) and
                 ((target_asm.id in [as_gas,as_ggas,as_darwin]));
                 ((target_asm.id in [as_gas,as_ggas,as_darwin]));
       end;
       end;