mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-11 17:04:32 -05:00
make sure RELRO is enabled on every toolchain
This commit is contained in:
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
Block a user