瀏覽代碼

- 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';