Build as PIE
This commit is contained in:
parent
59a0f6d8a6
commit
cb58713187
|
@ -1,6 +1,7 @@
|
|||
targets=basename,cat,chgrp,chmod,chown,cksum,cmp,cp,date,df,dirname,du,echo,false,file,find,head,id,kill,link,ln,locale,logname,ls,mkdir,mkfifo,more,mv,nice,pr,printf,ps,pwd,renice,rm,rmdir,sleep,strings,tail,test,time,touch,true,tty,uname,uniq,unlink,wc,who
|
||||
cflags_force=-W
|
||||
cflags=-Wall -g -O2 -pedantic -fstack-protector
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||
ldflags=-Wl,-pie
|
||||
dist=Makefile,common.c
|
||||
|
||||
[basename]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
targets=utilbox
|
||||
cflags_force=-W
|
||||
cflags=-Wall -g -O2 -pedantic -fstack-protector
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||
ldflags=-Wl,-pie
|
||||
dist=Makefile,graph.sh,utils.sh,utilbox.h
|
||||
|
||||
[utilbox]
|
||||
|
|
Loading…
Reference in New Issue
Block a user