Use "-march=native -mtune=native" to compile JIT translated code.

[GB.JIT]
* OPT: Use "-march=native -mtune=native" to compile JIT translated code.
This commit is contained in:
gambas 2020-09-11 00:43:08 +02:00
parent ed0f467b63
commit 18a74ff682
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
[Component]
Key=gb.jit
Version=3.14.90
Version=3.15.90
Authors=Benoît Minisini

View file

@ -1,7 +1,7 @@
# Gambas Project File 3.0
Title=Gambas JIT compiler support
Startup=Main
Version=3.14.90
Version=3.15.90
VersionFile=1
Authors="Benoît Minisini"
TabSize=2

View file

@ -26,7 +26,7 @@ Static Private Sub Init()
If Not $sCompiler Then Error.Raise("Compiler not found")
sFlag = Env["GB_JIT_CFLAGS"]
If Not sFlag Then sFlag = "-O3"
If Not sFlag Then sFlag = "-O3 -march=native -mtune=native"
$aFlags = Split(sFlag, " ")