fb internal: Should also use GCC 4.8.1 for CentOS 7

This commit is contained in:
sdong 2016-10-12 15:47:53 -07:00
parent edd6100e2b
commit 22796e6e71

View File

@ -51,7 +51,7 @@ if [ -z "$ROCKSDB_NO_FBCODE" -a -d /mnt/gvfs/third-party ]; then
if [ -z "$USE_CLANG" ]; then
CENTOS_VERSION=`rpm -q --qf "%{VERSION}" \
$(rpm -q --whatprovides redhat-release)`
if [ "$CENTOS_VERSION" = "6" ]; then
if [ "$CENTOS_VERSION" -ge "6" ]; then
source "$PWD/build_tools/fbcode.gcc481.sh"
else
source "$PWD/build_tools/fbcode.gcc471.sh"