More portable build as PIE
This commit is contained in:
parent
7848dc7a97
commit
c4b48cd59f
|
@ -1,7 +1,7 @@
|
|||
subdirs=backend
|
||||
targets=flashlight
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
|
||||
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
||||
cflags_force=`pkg-config --cflags libDesktop`
|
||||
ldflags_force=`pkg-config --libs libDesktop`
|
||||
dist=Makefile,backend.h,flashlight.h,window.h
|
||||
|
|
Loading…
Reference in New Issue
Block a user