Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | Index: apt-0.9.7.7/configure.ac |
| 4 | =================================================================== |
| 5 | --- apt-0.9.7.7.orig/configure.ac |
| 6 | +++ apt-0.9.7.7/configure.ac |
| 7 | @@ -112,7 +112,7 @@ dnl This is often the dpkg architecture |
| 8 | dnl First check against the full canonical canoncial-system-type in $target |
| 9 | dnl and if that fails, just look for the cpu |
| 10 | AC_MSG_CHECKING(debian architecture) |
| 11 | -archset="`dpkg-architecture -qDEB_HOST_ARCH`" |
| 12 | +archset="`echo $host_alias|cut -d'-' -f1`" |
| 13 | if test "x$archset" = "x"; then |
| 14 | AC_MSG_ERROR([failed: use --host= or output from dpkg-architecture]) |
| 15 | fi |