From 5b3d59ec7dcc49d40b99a474457d2099df1e430d Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 18 Aug 2019 08:41:12 -0400 Subject: [PATCH] Makefile: split long line for SHARED_FLAGS --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 44dec19..bae7f97 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,9 @@ $(shell $(CC) $(if $(filter clang,$(CC)),-Werror=unknown-warning-option) -E $1 - endef 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) SHARED_FLAGS += -Werror