Added dpkg-buildflags support
dpkg-buildflags is normally used for hardening but can also be used to
inject other set of build options (handy for whole distro rebuilds).
Also builds without any optimizations can be done in an easier way (via
DEB_BUILD_OPTIONS=noopt envvar).
Marcin Juszkiewicz authored 5 years ago
Guido Günther committed 5 years ago
153 | 153 | dh $@ --builddirectory=$(DEB_BUILDDIR) --parallel --with autoreconf --with systemd |
154 | 154 | |
155 | 155 | override_dh_auto_configure: |
156 | dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_ARGS) | |
156 | dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_ARGS) $(shell dpkg-buildflags --export=configure) | |
157 | 157 | mkdir -p debian/build/docs/internals |
158 | 158 | |
159 | 159 | override_dh_auto_test: |