mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
tools: Add -mtune=native to buildrocks.sh
This commit is contained in:
parent
05638f9e77
commit
28bae3f9a0
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ NJOBS=`nproc`
|
|||
export CFLAGS="$CFLAGS -fPIC"
|
||||
export CFLAGS="$CFLAGS -ftls-model=initial-exec"
|
||||
export CFLAGS="$CFLAGS -Wno-error"
|
||||
export CFLAGS="$CFLAGS -mtune=native"
|
||||
export DISABLE_JEMALLOC=1
|
||||
run make -j$NJOBS $LINKAGE
|
||||
run cd $USERDIR # Return to user's original directory
|
||||
|
|
Loading…
Reference in a new issue