Skip to content

Commit

Permalink
Disabled link time optimization compatibility check for anaconda.
Browse files Browse the repository at this point in the history
  • Loading branch information
friedenhe committed Aug 5, 2020
1 parent d9f6c4e commit cea83cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/adjoint/Make/options_Compressible
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ LIB_LIBS = \
-L$(PETSC_LIB) -lpetsc \
-L$(MPI_ARCH_PATH)/lib \
-L$(MPI_ARCH_PATH)/lib64 \
$(shell python3-config --ldflags)
$(shell python3-config --ldflags) \
-fno-lto
3 changes: 2 additions & 1 deletion src/adjoint/Make/options_Incompressible
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ LIB_LIBS = \
-L$(PETSC_LIB) -lpetsc \
-L$(MPI_ARCH_PATH)/lib \
-L$(MPI_ARCH_PATH)/lib64 \
$(shell python3-config --ldflags)
$(shell python3-config --ldflags) \
-fno-lto

0 comments on commit cea83cf

Please sign in to comment.