Bug#768167: dpkg-architecture export DEB_TARGET_* make cross build failure

2014-11-05 Thread YunQiang Su
Package: src:gcc-4.9 Version: 4.9.2-1 In the past, dpkg-architecture doesn't export DEB_TARGET_* Vars, so in rules.defs ifdef DEB_TARGET_GNU_TYPE TARGET_VARS := $(shell dpkg-architecture -f -t$(DEB_TARGET_GNU_TYPE) 2/dev/null) else # allow debian/target to be used instead of DEB_GCC_TARGET

Bug#768167: dpkg-architecture export DEB_TARGET_* make cross build failure

2014-11-05 Thread YunQiang Su
On Thu, 6 Nov 2014 00:15:13 +0800 YunQiang Su wzss...@gmail.com wrote: Package: src:gcc-4.9 Version: 4.9.2-1 In the past, dpkg-architecture doesn't export DEB_TARGET_* Vars, so in rules.defs ifdef DEB_TARGET_GNU_TYPE TARGET_VARS := $(shell dpkg-architecture -f -t$(DEB_TARGET_GNU_TYPE)

Bug#768167: dpkg-architecture export DEB_TARGET_* make cross build failure

2014-11-05 Thread Helmut Grohne
Control: retitle -1 target architecture no longer selectable via debian/target or DEB_GCC_TARGET On Thu, Nov 06, 2014 at 12:15:13AM +0800, YunQiang Su wrote: But now, when DEB_TARGET_GNU_TYPE and DEB_TARGET_ARCH always define, we can not get cross complier with debian/target file or