diff --git a/src/adjoint/Make/options_Compressible b/src/adjoint/Make/options_Compressible index b2b8e829..1ffc19a9 100755 --- a/src/adjoint/Make/options_Compressible +++ b/src/adjoint/Make/options_Compressible @@ -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 diff --git a/src/adjoint/Make/options_Incompressible b/src/adjoint/Make/options_Incompressible index 2098b5c8..67db9b00 100755 --- a/src/adjoint/Make/options_Incompressible +++ b/src/adjoint/Make/options_Incompressible @@ -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