소스 검색

do not display the changing assembler note, if the internal and the external assemblers are the same, or there's no internal assembler defined

Karoly Balogh 1 년 전
부모
커밋
3c57eb42f9
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      compiler/options.pas

+ 4 - 1
compiler/options.pas

@@ -5191,7 +5191,10 @@ begin
       ((option.paratargetasm=as_none) and (target_info.endian<>source_info.endian)) then
    begin
      if ((option.paratargetasm=as_none) and (target_info.endian<>source_info.endian)) then
-       Message(option_switch_bin_to_src_assembler_cross_endian)
+       begin
+         if not ((target_info.assem = target_info.assemextern) or (target_info.assem = as_none)) then
+           Message(option_switch_bin_to_src_assembler_cross_endian);
+       end
      else
        Message(option_switch_bin_to_src_assembler);
 {$ifdef llvm}