diff --git a/build_tools/build_detect_platform b/build_tools/build_detect_platform index 94aafd62ef..2ff64afe23 100755 --- a/build_tools/build_detect_platform +++ b/build_tools/build_detect_platform @@ -49,7 +49,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