diff --git a/deb/files/rules.in b/deb/files/rules.in index 4528669..a2d8da3 100755 --- a/deb/files/rules.in +++ b/deb/files/rules.in @@ -6,7 +6,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all dh $@ override_dh_auto_build: - CPPFLAGS="${CPPFLAGS} -DINSPIRCD_BINARY_EXIT" INSPIRCD_DISABLE_RPATH=1 dh_auto_build + INSPIRCD_DISABLE_RPATH=1 dh_auto_build override_dh_auto_configure: if [ ! -z "${INSPIRCD_CONTRIB}" ]; \ diff --git a/rpm/inspircd.spec.in b/rpm/inspircd.spec.in index bc142dd..7b3bf03 100644 --- a/rpm/inspircd.spec.in +++ b/rpm/inspircd.spec.in @@ -53,7 +53,7 @@ fi --disable-ownership \ --distribution-label rpm@@INSPIRCD_REVISION@@ \ --system -CPPFLAGS="${CPPFLAGS} -DINSPIRCD_BINARY_EXIT" INSPIRCD_DISABLE_RPATH=1 make %{?_smp_mflags} +INSPIRCD_DISABLE_RPATH=1 make %{?_smp_mflags} %install rm -fr $RPM_BUILD_ROOT