Makefile: split long line for SHARED_FLAGS
parent
7c455c3956
commit
5b3d59ec7d
4
Makefile
4
Makefile
|
@ -26,7 +26,9 @@ $(shell $(CC) $(if $(filter clang,$(CC)),-Werror=unknown-warning-option) -E $1 -
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CPPFLAGS := $(CPPFLAGS) -D_GNU_SOURCE
|
CPPFLAGS := $(CPPFLAGS) -D_GNU_SOURCE
|
||||||
SHARED_FLAGS := -O3 -flto -fPIC -fvisibility=hidden $(call safe_flag,-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
|
SHARED_FLAGS := -O3 -flto -fPIC -fvisibility=hidden $(call safe_flag,-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 ($(CONFIG_WERROR),true)
|
ifeq ($(CONFIG_WERROR),true)
|
||||||
SHARED_FLAGS += -Werror
|
SHARED_FLAGS += -Werror
|
||||||
|
|
Loading…
Reference in New Issue