From fd2fadb8fc25f08cc1ed660ffae95164f5c68065 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Fri, 13 Sep 2013 21:33:42 +0200 Subject: [PATCH] Add the output of "getconf LFS_CFLAGS" to CFLAGS Makes LFS support working (again?) on 32-bit (or at least i386). Closes #722709 and fixes lintian warning binary-file-built-without-LFS-support. --- debian/changelog | 4 ++++ debian/rules | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index e9a716f..d9581eb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,9 @@ mmv (1.01b-18) UNRELEASED; urgency=low + * Make LFS support working on 32-bit (again?) by adding the output of + "getconf LFS_CFLAGS" to CFLAGS. + + Fixes lintian warning binary-file-built-without-LFS-support + + Closes #722709 * Switch to a dh7 style debian/rules file * Bump Standards-Version to 3.9.4 (no changes) * Apply wrap-and-sort diff --git a/debian/rules b/debian/rules index 38343a9..6323770 100755 --- a/debian/rules +++ b/debian/rules @@ -7,4 +7,4 @@ include /usr/share/dpkg/buildflags.mk dh $@ override_dh_auto_build: - dh_auto_build -- LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS) -DIS_SYSV -DHAS_DIRENT -DHAS_RENAME" + dh_auto_build -- LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS) $(shell getconf LFS_CFLAGS) -DIS_SYSV -DHAS_DIRENT -DHAS_RENAME" -- 2.39.2