From e5d38a0f8d6b1704a82dd94a0794bdec2033958e Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 4 Apr 2019 15:18:09 +0200 Subject: [PATCH] set --enable-option-checking=fatal on all package builds --- builder-support/debian/dnsdist/debian-jessie/rules | 1 + builder-support/debian/dnsdist/debian-stretch/rules | 1 + builder-support/debian/dnsdist/ubuntu-trusty/rules | 1 + builder-support/specs/dnsdist.spec | 1 + builder-support/specs/pdns-recursor.spec | 1 + builder-support/specs/pdns.spec | 1 + 6 files changed, 6 insertions(+) diff --git a/builder-support/debian/dnsdist/debian-jessie/rules b/builder-support/debian/dnsdist/debian-jessie/rules index 832102624..e0f70b6c9 100755 --- a/builder-support/debian/dnsdist/debian-jessie/rules +++ b/builder-support/debian/dnsdist/debian-jessie/rules @@ -29,6 +29,7 @@ override_dh_auto_clean: override_dh_auto_configure: ./configure \ + --enable-option-checking=fatal \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ diff --git a/builder-support/debian/dnsdist/debian-stretch/rules b/builder-support/debian/dnsdist/debian-stretch/rules index f5a19a283..b9ad262d9 100755 --- a/builder-support/debian/dnsdist/debian-stretch/rules +++ b/builder-support/debian/dnsdist/debian-stretch/rules @@ -29,6 +29,7 @@ override_dh_auto_clean: override_dh_auto_configure: ./configure \ + --enable-option-checking=fatal \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ diff --git a/builder-support/debian/dnsdist/ubuntu-trusty/rules b/builder-support/debian/dnsdist/ubuntu-trusty/rules index f07ef517e..508b6f853 100755 --- a/builder-support/debian/dnsdist/ubuntu-trusty/rules +++ b/builder-support/debian/dnsdist/ubuntu-trusty/rules @@ -21,6 +21,7 @@ override_dh_auto_clean: override_dh_auto_configure: ./configure \ + --enable-option-checking=fatal \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ diff --git a/builder-support/specs/dnsdist.spec b/builder-support/specs/dnsdist.spec index 1aa93848a..ce71b943d 100644 --- a/builder-support/specs/dnsdist.spec +++ b/builder-support/specs/dnsdist.spec @@ -73,6 +73,7 @@ sed -i '/^ExecStart/ s/dnsdist/dnsdist -u dnsdist -g dnsdist/' dnsdist.service.i %build %configure \ + --enable-option-checking=fatal \ --sysconfdir=/etc/dnsdist \ --disable-static \ --disable-dependency-tracking \ diff --git a/builder-support/specs/pdns-recursor.spec b/builder-support/specs/pdns-recursor.spec index c9b6acdb4..fe38f6a67 100644 --- a/builder-support/specs/pdns-recursor.spec +++ b/builder-support/specs/pdns-recursor.spec @@ -64,6 +64,7 @@ package if you need a dns cache for your network. %build %configure \ + --enable-option-checking=fatal \ --sysconfdir=%{_sysconfdir}/%{name} \ --with-libsodium \ --with-netsnmp \ diff --git a/builder-support/specs/pdns.spec b/builder-support/specs/pdns.spec index 4f79fe416..181aeab45 100644 --- a/builder-support/specs/pdns.spec +++ b/builder-support/specs/pdns.spec @@ -205,6 +205,7 @@ This package contains the ixfrdist program. export CPPFLAGS="-DLDAP_DEPRECATED" %configure \ + --enable-option-checking=fatal \ --sysconfdir=%{_sysconfdir}/%{name} \ --disable-static \ --disable-dependency-tracking \ -- 2.40.0