[Buildroot] [PATCH v2 10/15] toolchain/toolchain-external: enable fortran check when it is selected

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jul 1 21:20:44 UTC 2016


Hello,

On Fri,  1 Jul 2016 18:29:15 +0200, Samuel Martin wrote:

>  ifeq ($(filter $(HOST_DIR)/%,$(TOOLCHAIN_EXTERNAL_BIN)),)
> @@ -529,6 +530,10 @@ define TOOLCHAIN_EXTERNAL_CONFIGURE_CMDS
>  	if test "$(BR2_INSTALL_LIBSTDCPP)" = "y" ; then \
>  		$(call check_cplusplus,$(TOOLCHAIN_EXTERNAL_CXX)) ; \
>  	fi ; \
> +	if test "$(BR2_TOOLCHAIN_HAS_FORTRAN)" = "y" ; then \
> +		$(call check_fortran,\
> +			"$(TOOLCHAIN_EXTERNAL_FC) $(TOOLCHAIN_EXTERNAL_CFLAGS)") ; \

Why are you passing TOOLCHAIN_EXTERNAL_CFLAGS for the fortran compiler
check, while we are not using them for the C++ compiler check ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list