Skip to content

Commit a856f0c

Browse files
committed
fixed compile flag for gcc
1 parent 0a7c64f commit a856f0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/SCHISM.local.bora.gnu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ set(NetCDF_C_DIR "$ENV{NETCDF}" CACHE PATH "Path to NetCDF C library")
1414

1515
###Compile flags
1616
#CMAKE_EXE_LINKER_FLAGS did not work so I had to remove -static
17-
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -ffree-line-length-none -static-libgfortran -finit-local-zero" CACHE STRING "Fortran flags" FORCE)
17+
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -ffree-line-length-none -finit-local-zero" CACHE STRING "Fortran flags" FORCE)

0 commit comments

Comments
 (0)