Always build shared objects with -fPIC

This commit is contained in:
Pierre Pronchery 2015-08-31 02:27:04 +02:00
parent 97901777e4
commit 88112e9ce6

View File

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