Build cmake with gcc to avoid gnu++1y

This commit is contained in:
Teddy Reed 2015-04-22 17:58:08 -07:00
parent b8a54dbcc9
commit b2dc8b7264
2 changed files with 6 additions and 4 deletions

View File

@ -64,9 +64,6 @@ function main_centos() {
package clang
package clang-devel
set_cc clang
set_cxx clang++
package bzip2
package bzip2-devel
package openssl-devel
@ -76,6 +73,10 @@ function main_centos() {
package libblkid-devel
install_cmake
set_cc clang
set_cxx clang++
install_boost
if [[ $DISTRO = "centos6" ]]; then

View File

@ -18,8 +18,9 @@ function install_cmake() {
tar -xf cmake-3.2.1.tar.gz
fi
log "building cmake"
pushd cmake-3.2.1
./configure
./bootstrap --prefix=/usr/local/
make
sudo make install
popd