0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-05 11:38:56 +02:00

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

View file

@ -55,6 +55,7 @@ NJOBS=`nproc`
export CFLAGS="$CFLAGS -fPIC" export CFLAGS="$CFLAGS -fPIC"
export CFLAGS="$CFLAGS -ftls-model=initial-exec" export CFLAGS="$CFLAGS -ftls-model=initial-exec"
export CFLAGS="$CFLAGS -Wno-error" export CFLAGS="$CFLAGS -Wno-error"
export CFLAGS="$CFLAGS -mtune=native"
export DISABLE_JEMALLOC=1 export DISABLE_JEMALLOC=1
run make -j$NJOBS $LINKAGE run make -j$NJOBS $LINKAGE
run cd $USERDIR # Return to user's original directory run cd $USERDIR # Return to user's original directory