Skip to content

Commit

Permalink
linux [pypi]
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Aug 19, 2024
1 parent 51e2858 commit 3952af9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions fortran/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,14 @@ FFLAGS = -O3 $(COMMON_FFLAGS)
DEBUGFLAGS = -g -fbacktrace -ffpe-trap=invalid,overflow,zero -fbounds-check $(COMMON_FFLAGS)
ifeq ($(shell uname -s),Darwin)
SFFLAGS = -dynamiclib #-fpic
ifneq ($(CIBW_BUILD),)
SFFLAGS += -static-libgfortran -static-libgcc -static-libquadmath
endif
else
SFFLAGS = -shared -fpic
endif

ifneq ($(CIBW_BUILD),)
SFFLAGS += -static-libgfortran -static-libgcc -static-libquadmath
endif

#SFFLAGS = -shared -fPIC
MODOUT = -J$(OUTPUT_DIR)
SMODOUT = -J$(DLL_DIR)
Expand Down

0 comments on commit 3952af9

Please sign in to comment.