소스 검색

- removed "-enable-fp-mad" llc option, as it's not supported for all versions

git-svn-id: branches/debug_eh@40420 -
Jonas Maebe 6 년 전
부모
커밋
645a4da831
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/llvm/agllvm.pas

+ 1 - 1
compiler/llvm/agllvm.pas

@@ -789,7 +789,7 @@ implementation
           optstr:=optstr+' -disable-fp-elim';
         { fast math }
         if cs_opt_fastmath in current_settings.optimizerswitches then
-          optstr:=optstr+' -enable-unsafe-fp-math -enable-fp-mad -fp-contract=fast';
+          optstr:=optstr+' -enable-unsafe-fp-math -fp-contract=fast'; { -enable-fp-mad support depends on version }
         { smart linking }
         if cs_create_smart in current_settings.moduleswitches then
           optstr:=optstr+' -data-sections -function-sections';