Also build the Python bindings with RELRO

This commit is contained in:
Pierre Pronchery 2015-09-18 19:18:19 +02:00
parent c3a328ba8a
commit 18e85a1a30

View File

@ -3,7 +3,7 @@ cppflags_force=-I ../../include
cflags_force=`pkg-config --cflags python-2.7 libSystem`
cflags=-W -Wall -g -O2 -pedantic -fPIC -D_FORTITY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs python-2.7 libSystem`
ldflags=-L.. -L$(LIBDIR) -Wl,-rpath,$(LIBDIR)
ldflags=-L.. -L$(LIBDIR) -Wl,-rpath,$(LIBDIR) -Wl,-z,relro -Wl,-z,now
dist=Makefile,libSystem.py
[_libSystem]