From: Theodore Ts'o Date: Sun, 16 Dec 2007 01:34:41 +0000 (-0500) Subject: Fix cross-compilation support in Debian's build rules X-Git-Tag: v1.40.4~31 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a6ea47ab4b5f02d3a5e92f55e14a3e0162f454da;p=tools%2Fe2fsprogs.git Fix cross-compilation support in Debian's build rules Addresses-Debian-Bug: #451172 Signed-off-by: "Theodore Ts'o" --- diff --git a/debian/rules b/debian/rules index 842965e..49237b8 100755 --- a/debian/rules +++ b/debian/rules @@ -123,7 +123,7 @@ ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) else cd ${stdbuilddir} && AWK=/usr/bin/awk CC="${DEB_HOST_GNU_TYPE}-gcc" \ ${topdir}/configure ${COMMON_CONF_FLAGS} ${STD_CONF_FLAGS} \ - --build=$(DEB_BUILD_GNU_TYPE) $(DEB_HOST_GNU_TYPE) + --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) endif # specially-built MIPS libs @@ -149,7 +149,7 @@ ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) else cd ${bfbuilddir} && AWK=/usr/bin/awk CC="${DEB_HOST_GNU_TYPE}-gcc" \ ${topdir}/configure ${COMMON_CONF_FLAGS} ${BF_CONF_FLAGS} \ - --build=$(DEB_BUILD_GNU_TYPE) $(DEB_HOST_GNU_TYPE) + --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) endif mkdir -p ${STAMPSDIR} touch ${CFGBFSTAMP}