[Glibc-bsd-commits] r2069 - trunk/ufsutils/debian
ps-guest at alioth.debian.org
ps-guest at alioth.debian.org
Sat Dec 8 22:21:44 UTC 2007
Author: ps-guest
Date: 2007-12-08 22:21:44 +0000 (Sat, 08 Dec 2007)
New Revision: 2069
Modified:
trunk/ufsutils/debian/rules
Log:
* -I freebsd would be needed also on hurd (eventually)
Modified: trunk/ufsutils/debian/rules
===================================================================
--- trunk/ufsutils/debian/rules 2007-12-08 22:17:15 UTC (rev 2068)
+++ trunk/ufsutils/debian/rules 2007-12-08 22:21:44 UTC (rev 2069)
@@ -13,26 +13,24 @@
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 -I$(CURDIR)/freebsd
-endif
# on GNU/kFreeBSD we need additional library
ifeq (kfreebsd,$(DEB_HOST_ARCH_OS))
LDADD += -lbsd -lfreebsd
+else
+# really only on other systems, as GNU/kFreeBSD already have off_t 64bit
+# on GNU/kFreeBSD it must not be enabled, as it would change size of ino_t
+CFLAGS += -D_FILE_OFFSET_BITS=64 -I$(CURDIR)/freebsd
endif
-
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
+
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
More information about the Glibc-bsd-commits
mailing list