[Glibc-bsd-commits] r1883 - trunk/ufsutils/debian
Petr Salinger
ps-guest at alioth.debian.org
Fri Jan 19 13:59:59 UTC 2007
Author: ps-guest
Date: 2007-01-19 14:59:59 +0100 (Fri, 19 Jan 2007)
New Revision: 1883
Modified:
trunk/ufsutils/debian/rules
Log:
* enable LFS (only on Linux)
Modified: trunk/ufsutils/debian/rules
===================================================================
--- trunk/ufsutils/debian/rules 2007-01-19 13:14:06 UTC (rev 1882)
+++ trunk/ufsutils/debian/rules 2007-01-19 13:59:59 UTC (rev 1883)
@@ -13,6 +13,14 @@
CFLAGS = -Wall -g
+# really only on Linux, as GNU/kFreeBSD already have off_t 64bit
+# on GNU/kFreeBSD it must not be enabled, as it would change size of ino_t
+
+DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+CFLAGS += -D_FILE_OFFSET_BITS=64
+endif
+
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
More information about the Glibc-bsd-commits
mailing list