mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-07 00:35:05 -04:00
enable sized deallocation ABI for consistency
This commit is contained in:
parent
e2bcf4a356
commit
189d3362d5
2 changed files with 1 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -31,7 +31,7 @@ ifeq ($(CONFIG_NATIVE),true)
|
|||
endif
|
||||
|
||||
CFLAGS := $(CFLAGS) -std=c17 $(SHARED_FLAGS) -Wmissing-prototypes
|
||||
CXXFLAGS := $(CXXFLAGS) -std=c++17 $(SHARED_FLAGS)
|
||||
CXXFLAGS := $(CXXFLAGS) -std=c++17 -fsized-deallocation $(SHARED_FLAGS)
|
||||
LDFLAGS := $(LDFLAGS) -Wl,--as-needed,-z,defs,-z,relro,-z,now,-z,nodlopen,-z,text
|
||||
|
||||
SOURCES := chacha.c h_malloc.c memory.c pages.c random.c util.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue