Sync debian/control with debian packaging

This commit is contained in:
2023-09-24 23:09:40 +02:00
parent 6ae48adc6b
commit 0f86e5ac59
+9 -9
View File
@@ -1,16 +1,16 @@
#!/usr/bin/make -f #!/usr/bin/make -f
#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
include /usr/share/cdbs/1/rules/debhelper.mk export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
include /usr/share/cdbs/1/class/cmake.mk DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DPKG_EXPORT_BUILDFLAGS = 1
export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) include /usr/share/dpkg/buildflags.mk
export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) CFLAGS+=$(CPPFLAGS)
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) CXXFLAGS+=$(CPPFLAGS)
%: %:
dh $@ dh $@
override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- -DUSE_BUNDLED_LIBS=Off dh_auto_configure -- -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_HOST_MULTIARCH)" -DUSE_BUNDLED_LIBS=Off