From 5bd7a386468d79d2566e8e99f053831bbff695bb Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Mon, 30 Jan 2023 02:26:59 -0500 Subject: Use $(CC) instead of gcc to avoid relying on the host gcc. Message-Id: --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 10d030b8..e31a875d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -41,7 +41,7 @@ AM_LDFLAGS = # Compilation flags # -GCC_INSTALL = $(shell LANG=C gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p') +GCC_INSTALL = $(shell LANG=C $(CC) -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p') AM_CPPFLAGS += \ -imacros config.h -I $(GCC_INSTALL)/include -- cgit v1.2.3