Build with -pedantic and -fstack-protector
This commit is contained in:
parent
0a8ec6459d
commit
a15564c5eb
|
@ -2,7 +2,7 @@ targets=libApp
|
|||
cppflags_force=-I ../include
|
||||
cppflags=-I $(PREFIX)/include
|
||||
cflags_force=-W -fPIC `pkg-config --cflags libSystem`
|
||||
cflags=-Wall -g -O2 -pedantic
|
||||
cflags=-Wall -g -O2 -pedantic -fstack-protector
|
||||
ldflags_force=`pkg-config --libs libSystem`
|
||||
ldflags=
|
||||
dist=Makefile,appinterface.h,appmessage.h,apptransport.h,marshall.h
|
||||
|
|
|
@ -2,7 +2,7 @@ targets=self,tcp,tcp4,tcp6,template,udp,udp4,udp6
|
|||
cppflags_force=-I ../../include
|
||||
cppflags=
|
||||
cflags_force=-W -fPIC `pkg-config --cflags libSystem`
|
||||
cflags=-Wall -g -O2 -pedantic
|
||||
cflags=-Wall -g -O2 -pedantic -fstack-protector
|
||||
ldflags_force=`pkg-config --libs libSystem` -L.. -lApp
|
||||
dist=Makefile,common.h,common.c
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
targets=Dummy.h,appclient,appmessage,appserver,includes,lookup,tests.log,transport
|
||||
cppflags_force=-I ../include -isystem .
|
||||
cflags_force=-W `pkg-config --cflags libSystem`
|
||||
cflags=-Wall -g -O2
|
||||
cflags=-Wall -g -O2 -pedantic -fstack-protector
|
||||
ldflags_force=`pkg-config --libs libSystem` -lApp
|
||||
ldflags=-L../src -Wl,-rpath,../src -rdynamic
|
||||
dist=System/App.h,Makefile,Test.interface,tests.sh
|
||||
|
|
|
@ -2,7 +2,7 @@ targets=AppBroker,AppClient
|
|||
cppflags_force=-I ../include
|
||||
cppflags=
|
||||
cflags_force=-W `pkg-config --cflags libSystem`
|
||||
cflags=-Wall -g -O2 -pedantic
|
||||
cflags=-Wall -g -O2 -pedantic -fstack-protector
|
||||
ldflags_force=-L../src `pkg-config --libs libSystem` -lApp
|
||||
ldflags=-L$(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib
|
||||
dist=Makefile,appbroker.sh
|
||||
|
|
Loading…
Reference in New Issue
Block a user