diff --git a/lib/poems/Makefile.g++ b/lib/poems/Makefile.g++ index ce6de4ea8f..ca870456bc 100644 --- a/lib/poems/Makefile.g++ +++ b/lib/poems/Makefile.g++ @@ -67,7 +67,7 @@ OBJ = $(SRC:.cpp=.o) # ------ SETTINGS ------ CC = g++ -CCFLAGS = -O -g -Wall #-Wno-deprecated +CCFLAGS = -O -g -fPIC -Wall #-Wno-deprecated ARCHIVE = ar ARCHFLAG = -rc DEPFLAGS = -M diff --git a/lib/poems/Makefile.icc b/lib/poems/Makefile.icc index 833a2f1d58..8cdb268910 100644 --- a/lib/poems/Makefile.icc +++ b/lib/poems/Makefile.icc @@ -67,7 +67,7 @@ OBJ = $(SRC:.cpp=.o) # ------ SETTINGS ------ CC = icc -CCFLAGS = -O -Wall -Wcheck -wd869,981,1572 +CCFLAGS = -O -fPIC -Wall -Wcheck -wd869,981,1572 ARCHIVE = ar ARCHFLAG = -rc DEPFLAGS = -M diff --git a/lib/poems/Makefile.storm b/lib/poems/Makefile.storm index d2c112c3ee..52cfe8b4af 100644 --- a/lib/poems/Makefile.storm +++ b/lib/poems/Makefile.storm @@ -67,7 +67,7 @@ OBJ = $(SRC:.cpp=.o) # ------ SETTINGS ------ CC = CC -CCFLAGS = -O -g -Wall #-Wno-deprecated +CCFLAGS = -O -fPIC -g -Wall #-Wno-deprecated ARCHIVE = ar ARCHFLAG = -rc DEPFLAGS = -M