From b79a042b7671b53aa85703b8155125b74135ce00 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Tue, 3 Nov 2026 10:03:08 -0800 Subject: [PATCH] Fix #387: Build failure when passing CFLAGS with LFortran --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 95f6a0e7..52212472 100755 --- a/install.sh +++ b/install.sh @@ -725,7 +725,7 @@ fi if [[ $compiler_version =~ 'LFortran' ]]; then # Ensure we use LFortran's copy of ISO_Fortran_binding.h - APPEND_CFLAGS+=-I$($FC --print-c-include-dir) + APPEND_CFLAGS+=" -I$($FC --print-c-include-dir)" # Some LFortan builds issue a fatal error if -g appears on the Fortran compile or link line # GASNet sometimes injects this linker option, so ensure we strip it out for var in GASNET_LDFLAGS GASNET_LIBS ; do