From: Axel Beckert Date: Fri, 13 Sep 2013 19:33:42 +0000 (+0200) Subject: Add the output of "getconf LFS_CFLAGS" to CFLAGS X-Git-Tag: debian/1.01b-18~2 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=fd2fadb8fc25f08cc1ed660ffae95164f5c68065;p=pkg%2Fmmv.git 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. --- 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"