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:
parent
b5168eb063
commit
639dfa40d5
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue