add -fstack-protector-strong roker-linux
authorRoker <roker@pep-project.org>
Wed, 29 Jun 2016 13:23:04 +0200
branchroker-linux
changeset 7773f6704f9dcde
parent 769 8660da4da019
child 778 2740958d5401
add -fstack-protector-strong
Makefile.conf
test/Makefile
     1.1 --- a/Makefile.conf	Mon Jun 27 09:15:50 2016 +0200
     1.2 +++ b/Makefile.conf	Wed Jun 29 13:23:04 2016 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  BUILD_ON=$(shell uname)
     1.5  BUILD_FOR=$(BUILD_ON)
     1.6 -OPTIMIZE=-g -O0 -Wall -fPIC
     1.7 +OPTIMIZE=-g -O0 -Wall -fPIC -fstack-protector-strong
     1.8  #OPTIMIZE=-O3 -DNDEBUG -std=c99
     1.9  LD=$(CC)
    1.10  #CC=gcc-mp-4.9 -std=c99 -fstrict-aliasing -Wstrict-aliasing=3
     2.1 --- a/test/Makefile	Mon Jun 27 09:15:50 2016 +0200
     2.2 +++ b/test/Makefile	Wed Jun 29 13:23:04 2016 +0200
     2.3 @@ -5,7 +5,7 @@
     2.4  LD?=$(CXX)
     2.5  LDFLAGS?=-L$(HOME)/local/lib
     2.6  LDLIBS?=-letpan -lpEpEngine -lstdc++ -L../asn.1 -lasn1
     2.7 -CXXFLAGS?=-std=c++11 -g -O0 -I../src -I../asn.1
     2.8 +CXXFLAGS?=-std=c++11 -g -O0 -I../src -I../asn.1 -fstack-protector-strong
     2.9  # CXXFLAGS=-O3 -DNDEBUG
    2.10  
    2.11  ifeq ("$(OPENPGP)","NETPGP")