make sure RELRO is enabled on every toolchain
parent
e72674e358
commit
0e2bc8a1cf
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
CPPFLAGS := -D_GNU_SOURCE
|
CPPFLAGS := -D_GNU_SOURCE
|
||||||
CFLAGS := -std=c11 -Wall -Wextra -O2 -flto -fPIC -fvisibility=hidden -pedantic
|
CFLAGS := -std=c11 -Wall -Wextra -O2 -flto -fPIC -fvisibility=hidden -pedantic
|
||||||
LDFLAGS := -Wl,--as-needed,-z,defs
|
LDFLAGS := -Wl,--as-needed,-z,defs,-z,relro,-z,now
|
||||||
LDLIBS := -lpthread
|
LDLIBS := -lpthread
|
||||||
OBJECTS := chacha.o malloc.o random.o util.o
|
OBJECTS := chacha.o malloc.o random.o util.o
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue