Add -march option to clang call for llvm target

git-svn-id: trunk@49475 -
This commit is contained in:
pierre 2021-06-04 21:14:34 +00:00
parent aec49340a3
commit aadcb00977

View File

@ -1601,6 +1601,9 @@ implementation
if fputypestrllvm[current_settings.fputype]<>'' then
optstr:=optstr+' -m'+fputypestrllvm[current_settings.fputype];
if cputypestr[current_settings.cputype]<>'' then
optstr:=optstr+' -march='+cputypestr[current_settings.cputype];
replace(result,'$OPT',optstr);
inc(fnextpass);
end;