[Pkg-cron-devel] [SCM] Git repository for pkg-cron branch, master, updated. debian/3.0pl1-119-43-g4787957
Javier Fernandez-Sanguino
jfs at debian.org
Mon Apr 9 15:23:57 UTC 2012
The following commit has been merged in the master branch:
commit 24f9c8fcc95e271d94e19dacc57afd82b82fbba7
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date: Mon Apr 9 17:21:47 2012 +0200
Add support for cross-building cron with patch used in Ubuntu provided by
Steve Langasek. The patch is used to tell the Makefile where the
cross-compiler is.
diff --git a/debian/rules b/debian/rules
index a840ebd..437bb5d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,12 @@
# Set system type (Linux, HURD, etc.)
DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_HOST_GNU_TYPE = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+export CC=$(DEB_HOST_GNU_TYPE)-gcc
+endif
+
# Standard compiler flags
CFLAGS += -Wall -Wno-unused -Wno-comment
--
Git repository for pkg-cron
More information about the Pkg-cron-devel
mailing list