Merge pull request #1034 from theopolis/fix_cmake_centos7

Build cmake with gcc to avoid gnu++1y
This commit is contained in:
Teddy Reed 2015-04-22 18:14:54 -07:00
commit 328bc062aa
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