mirror of
https://github.com/rfc1036/whois.git
synced 2026-08-01 07:20:13 +00:00
Really support Debian cross-building
As it turned out, real cross compilers do not ship $triplet-cc commands.
This commit is contained in:
parent
d24bcb9a4d
commit
afaafb6691
2
debian/rules
vendored
2
debian/rules
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user