From 61cdeab29def48e29bf2363a30b9953d68453f48 Mon Sep 17 00:00:00 2001 From: Robin Geffroy Date: Tue, 7 Jun 2022 11:55:53 +0200 Subject: [PATCH] Use $CC if variable is set Fixes commit e9a52aa129efe3834383e415580716a7c4027f8d cc variable is set if CC is not set, and ignored otherwise. --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 52ff4a04e..c8123b208 100755 --- a/configure +++ b/configure @@ -174,6 +174,8 @@ if test -z "$CC"; then else cc=${CROSS_PREFIX}cc fi +else + cc=${CC} fi cflags=${CFLAGS-"-O3"} # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure