diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-15 15:02:42 +0200 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-15 15:02:42 +0200 |
| commit | 9c1f02e886c7ab9a1db8d247378e2fc231076a89 (patch) | |
| tree | 3b38243f3dc3b4885489e16dc4292f61970b6d6e | |
| parent | dfd2120acc7d5e0cedf3fa3524088a93cbe4b8dc (diff) | |
d/rules: Add -std=gnu17 to CFLAGS to fix FTBFS with GCC-15
| -rw-r--r-- | debian/changelog | 3 | ||||
| -rwxr-xr-x | debian/rules | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 7ed89ab..1b3ddcb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ xsane (0.999-13) UNRELEASED; urgency=medium - * + * debian/rules: + - Add -std=gnu17 to CFLAGS to fix FTBFS with GCC-15 (Closes: #1098165). -- Jörg Frings-Fürst <debian@jff.email> Mon, 15 Sep 2025 12:08:06 +0200 diff --git a/debian/rules b/debian/rules index 09bfbbf..c8e2189 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,8 @@ #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -std=gnu17 + %: dh $@ |
