This patch fixes execline, but other softwares like s6 should
be fixed as well.

With commit fc7958ecb1c4d5b06521e1ca42f0b48b514e27e1,
Makefile uses CC instead of $(CROSS_COMPILE)$(CC),
So CC shouldn't strip cross prefix when configure.
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index ce3939d..bcac9f3 100755
--- a/configure
+++ b/configure
@@ -418,7 +418,7 @@ SYSCLOCK_LIB := ${sysclock_lib}
 TIMER_LIB := ${timer_lib}
 UTIL_LIB := ${util_lib}
 
-CC := ${CC_AUTO##${cross}}
+CC := ${CC_AUTO}
 CPPFLAGS_AUTO := $CPPFLAGS_AUTO
 CPPFLAGS := $CPPFLAGS $CPPFLAGS_POST
 CFLAGS_AUTO := $CFLAGS_AUTO
-- 
2.23.0

Attachment: signature.asc
Description: PGP signature

Reply via email to