Adding -fPIC to FORTRAN flags (E.Sicking)
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 15 Apr 2009 08:48:21 +0000 (08:48 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 15 Apr 2009 08:48:21 +0000 (08:48 +0000)
build/Makefile.linux

index 923cea8..bbecf26 100644 (file)
@@ -46,7 +46,7 @@ endif
 endif
 endif
 CFLAGS        = $(OPT) -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi
-FFLAGS         = $(CLIBFOPT) $(FOPT) -fno-second-underscore
+FFLAGS         = $(CLIBFOPT) $(FOPT) -fPIC -fno-second-underscore
 
 ifneq (,$(findstring g95,$(F77)))
 FFLAGS       +=-DFORTRAN_G95