summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-01-30 02:26:59 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-30 21:03:04 +0100
commit5bd7a386468d79d2566e8e99f053831bbff695bb (patch)
tree3fedbad5a034d13e25e885b2d32d02af062272b8 /Makefile.am
parent40846f7c5fc0ff47650eb254b961327518ab44f3 (diff)
Use $(CC) instead of gcc to avoid relying on the host gcc.
Message-Id: <Y9dxQ6RqNPZwWBG2@jupiter.tail36e24.ts.net>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
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