0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

tools/buildrocks: Use RTTI when custom building included rocksdb.

This commit is contained in:
Jason Volk 2020-06-14 02:57:00 -07:00
parent d9827f3daa
commit a18901c100

View file

@ -50,8 +50,8 @@ run cd deps/rocksdb
run git fetch --tags --force
run git checkout $BRANCH
NJOBS=`nproc`
# export CFLAGS="$CFLAGS -DROCKSDB_USE_RTTI"
# export CFLAGS="$CFLAGS -frtti"
export CFLAGS="$CFLAGS -DROCKSDB_USE_RTTI"
export CFLAGS="$CFLAGS -frtti"
export CFLAGS="$CFLAGS -fPIC"
export CFLAGS="$CFLAGS -ftls-model=initial-exec"
export CFLAGS="$CFLAGS -Wno-error"