Fix build with OBJDIR

This commit is contained in:
Pierre Pronchery 2016-09-06 02:15:44 +02:00
parent 5710ff1641
commit 0e200396fc
4 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
targets=libApp
cppflags_force=-I ../include
cflags_force=-fPIC `pkg-config --cflags libSystem libMarshall`
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs libSystem libMarshall`
ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile,appinterface.h,appmessage.h,appstatus.h,apptransport.h

View File

@ -2,7 +2,7 @@ targets=self,tcp,tcp4,tcp6,template,udp,udp4,udp6
cppflags_force=-I ../../include
cppflags=
cflags_force=-fPIC `pkg-config --cflags libSystem`
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs libSystem` -L.. -lApp
ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile,common.h,common.c

View File

@ -1,9 +1,9 @@
targets=Dummy.h,appclient,appmessage,appserver,includes,lookup,tests.log,transport
cppflags_force=-I ../include -isystem .
cppflags_force=-I ../include
cflags_force=`pkg-config --cflags libSystem`
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs libSystem` -lApp
ldflags=-L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -pie -Wl,-z,relro -Wl,-z,now -rdynamic
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs libSystem` -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lApp
ldflags=-pie -Wl,-z,relro -Wl,-z,now -rdynamic
dist=System/App.h,appbroker.sh,Makefile,Test.expected,Test.interface,pkgconfig.sh,tests.sh
[Dummy.h]

View File

@ -2,9 +2,9 @@ targets=AppBroker,AppClient
cppflags_force=-I ../include
cppflags=
cflags_force=`pkg-config --cflags libSystem libMarshall`
cflags=-W -Wall -g -O2 -pedantic -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=-L../src `pkg-config --libs libSystem libMarshall` -lApp
ldflags=-L$(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -pie -Wl,-z,relro -Wl,-z,now
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=-L$(OBJDIR)../src `pkg-config --libs libSystem libMarshall` -lApp
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,appbroker.sh
[AppBroker]