diff options
author | Marco d'Itri <md@linux.it> | 2013-03-31 23:10:06 +0200 |
---|---|---|
committer | Marco d'Itri <md@linux.it> | 2013-04-01 01:28:10 +0200 |
commit | afaafb6691b7fefbc6d97f31c179aeb05f5b35cc (patch) | |
tree | beb59778a26a8282d2c56c7ac538c242e42e4d2d /debian | |
parent | d24bcb9a4d315bdffa2e65abf8ca5feb299e1204 (diff) | |
download | whois-afaafb6691b7fefbc6d97f31c179aeb05f5b35cc.tar.gz |
Really support Debian cross-building
As it turned out, real cross compilers do not ship $triplet-cc commands.
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
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 |