Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: use AC_CANONICAL_HOST, not AC_CANONICAL_TARGET
htop is a program which will be run on CHOST after cross-compilation; CTARGET is only for a small number of cases where a program itself outputs code (so you might cross-compile a compiler which spits out code for a third architecture/platform). We want to use AC_CANONICAL_HOST to check CHOST for the platform currently being used to build htop. The confusion around this issue was compounded by a mistake in autoconf-archive which has since been fixed (AX_PTHREAD pulled it in incorrectly). See: libstatgrab/libstatgrab#131 See: fenrus75/powertop#90 (comment) Signed-off-by: Sam James <[email protected]>
- Loading branch information