enable O2 optimization for lz4

Summary: Closes https://github.com/facebook/rocksdb/pull/2164

Differential Revision: D4897389

Pulled By: yiwu-arbug

fbshipit-source-id: fac15374ae7fef1ece70fd2b9018f2451f3c2f7c
main
Jay Lee 8 years ago committed by Facebook Github Bot
parent bc3973259c
commit e67f0adf3a
  1. 2
      Makefile

@ -1480,7 +1480,7 @@ liblz4.a:
exit 1; \
fi
tar xvzf lz4-$(LZ4_VER).tar.gz
cd lz4-$(LZ4_VER)/lib && make CFLAGS='-fPIC' all
cd lz4-$(LZ4_VER)/lib && make CFLAGS='-fPIC -O2' all
cp lz4-$(LZ4_VER)/lib/liblz4.a .
# A version of each $(LIBOBJECTS) compiled with -fPIC and a fixed set of static compression libraries

Loading…
Cancel
Save