Skip to content

Commit

Permalink
Merge pull request #96 from gcongiu/2023.09.29_fix-sysdetect-fort-tes…
Browse files Browse the repository at this point in the history
…t-flags

sysdetect: fix compiler flag selection in tests
  • Loading branch information
gcongiu authored Sep 29, 2023
2 parents 27cde44 + 2470a20 commit 67d5a51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/sysdetect/tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ ifeq ($(notdir $(F77)),gfortran)
FFLAGS +=-ffree-form -ffree-line-length-none
else ifeq ($(notdir $(F77)),flang)
FFLAGS +=-ffree-form
else ifeq ($(findstring $(notdir $(F77)), $(intel_compilers)),)
else ifneq ($(findstring $(notdir $(F77)), $(intel_compilers)),)
FFLAGS +=-free
else ifeq ($(findstring $(notdir $(F77)), $(cray_compilers)),)
else ifneq ($(findstring $(notdir $(F77)), $(cray_compilers)),)
FFLAGS +=-ffree
endif

Expand Down

0 comments on commit 67d5a51

Please sign in to comment.