tools: Add -mtune=native to buildrocks.sh

This commit is contained in:
Jason Volk 2020-05-04 14:04:14 -07:00
parent 05638f9e77
commit 28bae3f9a0
1 changed files with 1 additions and 0 deletions

View File

@ -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