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

tools: Improve flags exports in buildrocks.

This commit is contained in:
Jason Volk 2018-12-23 15:16:21 -08:00
parent b5168eb063
commit 639dfa40d5

View file

@ -50,7 +50,9 @@ run cd deps/rocksdb
run git fetch --tags
run git checkout $BRANCH
NJOBS=`nproc`
export CFLAGS="-fPIC -frtti -DROCKSDB_USE_RTTI"
export CFLAGS="$CFLAGS -DROCKSDB_USE_RTTI"
export CFLAGS="$CFLAGS -frtti"
export CFLAGS="$CFLAGS -fPIC"
export DISABLE_JEMALLOC=1
run make -j$NJOBS $LINKAGE
run cd $USERDIR # Return to user's original directory