From 752894ef54958d5bb6fbf7fc18f4a591d140bf39 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Mon, 29 Sep 2025 09:47:02 +0800 Subject: [PATCH] ; * configure.ac: Document why AC_CONFIG_SUBDIRS is not suitable for `exec'. --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 55f01b9f554..a6a603d8f35 100644 --- a/configure.ac +++ b/configure.ac @@ -191,8 +191,9 @@ AS_IF([test "$XCONFIGURE" = "android"],[ AS_MKDIR_P([exec]) # Enter exec and configure it, using the C compiler as both the - # assembler and the linker. Determine the absolute name of the - # source directory. + # assembler and the linker; it is for this reason that + # AC_CONFIG_SUBDIRS is not suitable in this context. Establish the + # absolute name of the source directory. # N.B. that the linker is actually cc, so pass -nostdlib, lest # the crt be linked in. Likewise for as.