summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2025-10-17 13:17:21 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2025-10-17 13:17:21 +0200
commit62ad26f1baca12b6a43314ecd43058ad3bfbf759 (patch)
tree254e63b84d3d3ea8ff20c1130606498746b5115d
parentadb40417faf0aaff45c0b5cb153787d7e870fd0d (diff)
d/rules: Use DEB_CFLAGS_MAINT_APPEND
-rw-r--r--debian/changelog4
-rwxr-xr-xdebian/rules3
2 files changed, 3 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 5289e46..8377aa2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
xsane (0.999-13) unstable; urgency=medium
* debian/rules:
- - Add -std=gnu17 to CFLAGS to fix FTBFS with GCC-15 (Closes: #1098165).
+ - Fix/Add -std=gnu17 to CFLAGS to fix FTBFS with GCC-15 (Closes: #1098165).
* debian/control:
- Declare compliance with Debian Policy 4.7.2.0 (No changes needed).
- Change VCS-* to the new URL.
@@ -9,7 +9,7 @@ xsane (0.999-13) unstable; urgency=medium
- Add year 2025 to myself.
- Add Mattia Rizzolo and Boyuan Yang to debian/*.
- -- Jörg Frings-Fürst <debian@jff.email> Mon, 15 Sep 2025 15:30:35 +0200
+ -- Jörg Frings-Fürst <debian@jff.email> Fri, 17 Oct 2025 13:16:30 +0200
xsane (0.999-12.2) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index c8e2189..d2df05a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,7 @@
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -std=gnu17
-
+export DEB_CFLAGS_MAINT_APPEND += -std=gnu17
%:
dh $@