mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-08-01 11:26:04 -04:00
enable pointer cast warnings
This commit is contained in:
parent
9a43302868
commit
ac8c68de53
2 changed files with 3 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@ CONFIG_CXX_ALLOCATOR := true
|
|||
CONFIG_UBSAN := false
|
||||
|
||||
CPPFLAGS := -D_GNU_SOURCE
|
||||
SHARED_FLAGS := -O2 -flto -fPIC -fvisibility=hidden -fno-plt -pipe -Wall -Wextra
|
||||
SHARED_FLAGS := -O2 -flto -fPIC -fvisibility=hidden -fno-plt -pipe -Wall -Wextra -Wcast-align=strict -Wcast-qual -Wwrite-strings
|
||||
CFLAGS := -std=c11 $(SHARED_FLAGS) -Wmissing-prototypes
|
||||
CXXFLAGS := -std=c++14 $(SHARED_FLAGS)
|
||||
LDFLAGS := -Wl,-z,defs,-z,relro,-z,now,-z,nodlopen,-z,text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue