Skip to content

Commit

Permalink
Merge pull request #63 from mabruzzo/fortran_example_flag
Browse files Browse the repository at this point in the history
Minor tweak to allow tests to pass with gfortran
  • Loading branch information
brittonsmith committed Mar 31, 2020
2 parents e281bcc + da8f504 commit 80e3836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ fortran_example: $(MODULES) fortran_example.o
.F.o:
@rm -f $@
@echo "Compiling $<"
-@($(FC) -c -o $@ $(DEFINES) $(FFLAGS) $(INCLUDES) $(GRACKLE_INCLUDE) $*.F) >& $(OUTPUT)
-@($(FC) -c -o $@ $(DEFINES) $(FFLAGS) -O1 $(INCLUDES) $(GRACKLE_INCLUDE) $*.F) >& $(OUTPUT)
@(if [ ! -e $@ ]; then \
echo; \
echo "$(FC) -c -o $@ $(DEFINES) $(FFLAGS) $(INCLUDES) $(GRACKLE_INCLUDE) $*.F"; \
Expand Down

0 comments on commit 80e3836

Please sign in to comment.