fb internal: Should also use GCC 4.8.1 for CentOS 7
This commit is contained in:
parent
eb96dc003a
commit
0f1692cdad
@ -49,7 +49,7 @@ if [ -d /mnt/gvfs/third-party -a -z "$CXX" ]; then
|
|||||||
if [ -z "$USE_CLANG" ]; then
|
if [ -z "$USE_CLANG" ]; then
|
||||||
CENTOS_VERSION=`rpm -q --qf "%{VERSION}" \
|
CENTOS_VERSION=`rpm -q --qf "%{VERSION}" \
|
||||||
$(rpm -q --whatprovides redhat-release)`
|
$(rpm -q --whatprovides redhat-release)`
|
||||||
if [ "$CENTOS_VERSION" = "6" ]; then
|
if [ "$CENTOS_VERSION" -ge "6" ]; then
|
||||||
source $PWD/build_tools/fbcode.gcc481.sh
|
source $PWD/build_tools/fbcode.gcc481.sh
|
||||||
else
|
else
|
||||||
source $PWD/build_tools/fbcode.gcc471.sh
|
source $PWD/build_tools/fbcode.gcc471.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user