[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Use $(CC) instead of gcc to avoid relying on the host gcc.
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] Use $(CC) instead of gcc to avoid relying on the host gcc. |
Date: |
Mon, 30 Jan 2023 21:03:11 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
Flavio Cruz, le lun. 30 janv. 2023 02:26:59 -0500, a ecrit:
> ---
> Makefile.am | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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
>
> --
> 2.39.0
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.