use SLAB_CANARY for conditional checks
This commit is contained in:
4
Makefile
4
Makefile
@@ -30,10 +30,6 @@ SHARED_FLAGS := -O3 -flto -fPIC -fvisibility=hidden -fno-plt \
|
||||
$(call safe_flag,-fstack-clash-protection) -fstack-protector-strong -pipe -Wall -Wextra \
|
||||
$(call safe_flag,-Wcast-align=strict,-Wcast-align) -Wcast-qual -Wwrite-strings
|
||||
|
||||
ifeq ($(CC),clang)
|
||||
SHARED_FLAGS += -Wno-constant-logical-operand
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_WERROR),true)
|
||||
SHARED_FLAGS += -Werror
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user