From aa4372b097900783a61a55910fb7b29f458636b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Sun, 24 Mar 2024 22:57:43 -0400 Subject: [PATCH] Use cc, not gcc for --build detection --- 3rdp/build/GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdp/build/GNUmakefile b/3rdp/build/GNUmakefile index 6d74682579..11a0d28336 100644 --- a/3rdp/build/GNUmakefile +++ b/3rdp/build/GNUmakefile @@ -33,7 +33,7 @@ ifneq ($(os),linux) JS_CONFIGURE_ARGS += '--disable-tracejit' endif endif -JS_CONFIGURE_ARGS += --build=$(shell gcc -v 2>&1 | awk '/^Target:/ {print $$2}') +JS_CONFIGURE_ARGS += --build=$(shell cc -v 2>&1 | awk '/^Target:/ {print $$2}') JS_CONFIGURE_ARGS += --host=$(shell $(CC) -v 2>&1 | awk '/^Target:/ {print $$2}') JS_CONFIGURE_ARGS += --target=$(shell $(CC) -v 2>&1 | awk '/^Target:/ {print $$2}') ifeq ($(os),darwin) -- GitLab