[PATCH execline] Fix CC variable in cross compile environment

From: Shengjing Zhu <zhsj_at_debian.org>
Date: Sun, 20 Oct 2019 19:58:25 +0800

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
_at_@ -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



Received on Sun Oct 20 2019 - 11:58:25 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC