mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-30 10:39:15 +02:00
Add -march option to clang call for llvm target
git-svn-id: trunk@49475 -
This commit is contained in:
parent
aec49340a3
commit
aadcb00977
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user