diff -Nru openbsd-inetd-0.20091229/debian/changelog openbsd-inetd-0.20091229/debian/changelog
--- openbsd-inetd-0.20091229/debian/changelog	2012-08-22 09:55:21.000000000 +0000
+++ openbsd-inetd-0.20091229/debian/changelog	2013-02-14 01:14:44.000000000 +0000
@@ -1,3 +1,9 @@
+openbsd-inetd (0.20091229-2ubuntu2cross1) raring-bootstrap; urgency=low
+
+  * Add cross-build support
+
+ -- Wookey <wookey@wookware.org>  Thu, 14 Feb 2013 01:13:55 +0000
+
 openbsd-inetd (0.20091229-2ubuntu2) quantal; urgency=low
 
   * Re-enable bindnow and pie hardening options (LP: #1039597).
diff -Nru openbsd-inetd-0.20091229/debian/rules openbsd-inetd-0.20091229/debian/rules
--- openbsd-inetd-0.20091229/debian/rules	2012-08-22 09:51:11.000000000 +0000
+++ openbsd-inetd-0.20091229/debian/rules	2013-02-14 01:18:30.000000000 +0000
@@ -5,6 +5,9 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 -include /usr/share/dpkg/buildflags.mk
 
+include /usr/share/dpkg/architecture.mk
+CC:=$(DEB_HOST_GNU_TYPE)-gcc
+
 D := $(CURDIR)/debian/openbsd-inetd
 
 clean:
@@ -18,7 +21,7 @@
 build-indep: debian/.stamp-build
 debian/.stamp-build:
 	dh_testdir
-	$(MAKE) -f Makefile.debian
+	$(MAKE) -f Makefile.debian CC=$(CC)
 	touch $@
 
 binary-arch: checkroot build
