From e9fed26d60c88a8a42ef97a9ba2d75e6b0cb4990 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 1 Sep 2015 02:23:05 +0200 Subject: [PATCH] Always build shared objects with -fPIC --- tools/project.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/project.conf b/tools/project.conf index 643c8de..d3e304f 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -1,6 +1,6 @@ targets=notes -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