From afaafb6691b7fefbc6d97f31c179aeb05f5b35cc Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Sun, 31 Mar 2013 23:10:06 +0200 Subject: Really support Debian cross-building As it turned out, real cross compilers do not ship $triplet-cc commands. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/rules b/debian/rules index 6a0d58d..9fd085d 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ 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)-$(CC) + export CC := $(DEB_HOST_GNU_TYPE)-gcc endif DPKG_EXPORT_BUILDFLAGS = 1 -- cgit v1.2.3