mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
Build cmake with gcc to avoid gnu++1y
This commit is contained in:
parent
b8a54dbcc9
commit
b2dc8b7264
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user