Always build shared objects with -fPIC

This commit is contained in:
Pierre Pronchery 2015-09-01 02:23:05 +02:00
parent e272f8258e
commit e9fed26d60

View File

@ -1,6 +1,6 @@
targets=notes targets=notes
cflags_force=`pkg-config --cflags libDesktop Mailer` cflags_force=`pkg-config --cflags libDesktop Mailer` -fPIC
cflags=-W -Wall -g -O2 -pedantic -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-all cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs libDesktop` ldflags_force=`pkg-config --libs libDesktop`
dist=Makefile dist=Makefile