1
0
mirror of https://github.com/PHJArea217/socket-enhancer synced 2024-11-21 16:31:00 +02:00

Enable relro/now

This commit is contained in:
Peter H. Jin 2021-06-17 11:55:09 -05:00
parent fc16a9f4cc
commit 14a8d512e5

View File

@ -1,2 +1,8 @@
all: socket-enhancer
socket-enhancer: socket-enhancer.c
gcc -shared -fstack-protector-strong -o socket-enhancer socket-enhancer.c -fPIC -ldl -Wall -Wextra
gcc -shared -fstack-protector-strong -o socket-enhancer socket-enhancer.c -fPIC -ldl -Wall -Wextra -Wl,-z,relro,-z,now
clean:
rm -f socket-enhancer
.PHONY: all clean