From bffc02133d96f02f778dd0d44e0a5fa10157aca9 Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 26 Sep 2026 12:16:31 +0000 Subject: Support cross compilation. Include AX_PROG_CC_FOR_BUILD from autoconf-archive, and use CC_FOR_BUILD to build the two generator binaries, even when a different host system is targeted using ./configure --host=... I have not yet tested that the aplwc binary works when built this way. FossilOrigin-Name: 55b2cc92bc6d0a76ac7da97ad35489d435a484d7173348eefe3499fe058e0a69 --- tools/check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/check') diff --git a/tools/check b/tools/check index eee6490..bfecb0d 100755 --- a/tools/check +++ b/tools/check @@ -27,9 +27,9 @@ do exit 1 ;; esac - ../../configure --enable-build-mode=$type CFLAGS="$CFLAGS -Wall -Wextra -Werror -std=c89 -pedantic" + ../../configure --enable-maintainer-mode --enable-build-mode=$type CFLAGS="$CFLAGS -Wall -Wextra -Werror -std=c89 -pedantic" make check - ../../configure --enable-build-mode=$type CFLAGS="$CFLAGS" + ../../configure --enable-maintainer-mode --enable-build-mode=$type CFLAGS="$CFLAGS" cd .. done -- cgit v1.2.3