diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-01-27 17:20:44 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-01-27 17:20:44 -0500 |
commit | 4f2e8f19827e8b4b9a6b030af8534129cd5e5503 (patch) | |
tree | bec4ad827a73766d409d45ec93d0b916ba743986 | |
parent | df200fffd5276d3c8ba201fd61858ba906b77cf6 (diff) | |
download | e2fsprogs-4f2e8f19827e8b4b9a6b030af8534129cd5e5503.tar.gz |
debian: Don't use dietlibc on platforms that don't support it
Addresses-Debian-Bug: #459475
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | debian/rules | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/debian/control b/debian/control index 9e6e9edf..1b1c0f3d 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: e2fsprogs Section: admin Priority: required Maintainer: Theodore Y. Ts'o <tytso@mit.edu> -Build-Depends: texi2html (>= 1.76), gettext, texinfo, dc, pkg-config, dietlibc-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libsepol1-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libdevmapper-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libselinux1-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], debhelper (>= 4) +Build-Depends: texi2html (>= 1.76), gettext, texinfo, dc, pkg-config, dietlibc-dev [alpha amd64 arm hppa i386 ia64 mips mipsel powerpc ppc64 s390 sparc], libsepol1-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libdevmapper-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libselinux1-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], debhelper (>= 4) Standards-Version: 3.7.3.0 Package: e2fsck-static diff --git a/debian/rules b/debian/rules index fe42a52d..b5c00e7b 100755 --- a/debian/rules +++ b/debian/rules @@ -112,7 +112,7 @@ STATIC_CONF_FLAGS = --with-ccopts="${CCOPTS}" \ --disable-nls --disable-imager \ --disable-uuidd --disable-tls \ --disable-e2initrd-helper \ - --with-diet-libc --with-ccopts=-fno-stack-protector + --with-ccopts=-fno-stack-protector MIPS_NOPIC_CONF_FLAGS = --with-ccopts="${CCOPTS}" \ --disable-nls \ @@ -180,6 +180,9 @@ ${CFGSTATICSTAMP}: mkdir -p ${staticbuilddir} ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) + if type diet > /dev/null 2>&1 ; then \ + STATIC_CONF_FLAGS="$STATIC_CONF_FLAGS --with-diet-libc"; \ + fi cd ${staticbuilddir} && AWK=/usr/bin/awk \ ${topdir}/configure ${STATIC_CONF_FLAGS} else |