From 74a1103e78822cebec27b3e1bf539f4febd8c3d5 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 21 Jul 2015 02:54:13 +0200 Subject: [PATCH] Build executables with -fPIE --- src/project.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project.conf b/src/project.conf index 3b9e396..18e355a 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,6 +1,6 @@ targets=clock cflags_force=-W `pkg-config --cflags libSystem gtk+-2.0` -cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector +cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE ldflags_force=`pkg-config --libs libSystem gtk+-2.0` -lintl #for Gtk+ 3 #cflags_force=-W `pkg-config --cflags libSystem gtk+-3.0`