From: Arran Cudbard-Bell Date: Tue, 2 Jul 2024 18:27:40 +0000 (-0600) Subject: Take RPMBUILD_FLAGS in builddep too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=675e4e3f41b326b4561ca89ee80bee444a7e019c;p=thirdparty%2Ffreeradius-server.git Take RPMBUILD_FLAGS in builddep too --- diff --git a/Makefile b/Makefile index 15c7aa10e83..34634ff6d11 100644 --- a/Makefile +++ b/Makefile @@ -527,7 +527,7 @@ rpmbuild/SOURCES/freeradius-server-$(PKG_VERSION).tar.bz2: freeradius-server-$(P @cp $< $@ rpm: rpmbuild/SOURCES/freeradius-server-$(PKG_VERSION).tar.bz2 - @if ! $(SUDO) dnf builddep ${YUM_BUILDDEP_FLAGS} -q -C --assumeno redhat/freeradius.spec 1> rpmbuild/builddep.log 2>&1; then \ + @if ! $(SUDO) dnf builddep $(RPMBUILD_FLAGS) ${YUM_BUILDDEP_FLAGS} -q -C --assumeno redhat/freeradius.spec 1> rpmbuild/builddep.log 2>&1; then \ echo "ERROR: Required dependencies not found, install them with: dnf builddep redhat/freeradius.spec"; \ cat rpmbuild/builddep.log; \ exit 1; \