0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 06:51:08 +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 fetch --tags --force
run git checkout $BRANCH run git checkout $BRANCH
NJOBS=`nproc` NJOBS=`nproc`
# export CFLAGS="$CFLAGS -DROCKSDB_USE_RTTI" export CFLAGS="$CFLAGS -DROCKSDB_USE_RTTI"
# export CFLAGS="$CFLAGS -frtti" export CFLAGS="$CFLAGS -frtti"
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"