aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/build-packages.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/build-packages.sh b/scripts/build-packages.sh
index f5e82a1a6..c2ccd2b65 100644
--- a/scripts/build-packages.sh
+++ b/scripts/build-packages.sh
@@ -157,8 +157,6 @@ setup() {
echo ${DEPS_CENTOS} | xargs sudo yum install -y --nogpgcheck
sudo yum install -y --nogpgcheck devtoolset-7
- c++ --version
-
CXX_COMPILER="/opt/rh/devtoolset-7/root/usr/bin/c++"
CC_COMPILER="/opt/rh/devtoolset-7/root/usr/bin/cc"
@@ -167,9 +165,6 @@ setup() {
export CC=${CC_COMPILER} CXX=${CXX_COMPILER}
fi
-
- # do nothing but check compiler version
- c++ --version
}
@@ -183,10 +178,6 @@ install_collectd_headers() {
if [ "${DISTRIB_ID}" == "ubuntu" ]; then
sudo apt-get install collectd-dev -y --allow-unauthenticated
-
- if [ "${VERSION_CODENAME}" == "xenial" ]; then
- awk '/config.h/ { print; print "#include \"collectd/liboconfig/oconfig.h\""; next }1' /usr/include/collectd/core/daemon/configfile.h | sudo tee /usr/include/collectd/core/daemon/configfile.h
- fi
elif [ "${DISTRIB_ID}" == "centos" ]; then
wget https://storage.googleapis.com/collectd-tarballs/collectd-5.9.2.tar.bz2
tar -xf collectd-5.9.2.tar.bz2