From 4171bd164e2ec4cf2546daa2b0f6f95af0d782df Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 8 Nov 2023 14:21:04 -0500 Subject: [PATCH] use safe_flag for -fstack-clash-protection --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f33f88e..574a088 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ endef CPPFLAGS := $(CPPFLAGS) -D_GNU_SOURCE -I include SHARED_FLAGS := -pipe -O3 -flto -fPIC -fvisibility=hidden -fno-plt \ - -fstack-clash-protection $(call safe_flag,-fcf-protection) -fstack-protector-strong \ + $(call safe_flag,-fstack-clash-protection) $(call safe_flag,-fcf-protection) -fstack-protector-strong \ -Wall -Wextra $(call safe_flag,-Wcast-align=strict,-Wcast-align) -Wcast-qual -Wwrite-strings \ -Wundef