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 a51fbf5f3f
commit 1f303c11a3

View File

@ -50,7 +50,7 @@ if [ -d /mnt/gvfs/third-party -a -z "$CXX" ]; 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"