From 75e26afdb6f50373414228baa9a8cf07188db197 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 30 Dec 2021 19:17:23 -0500 Subject: [PATCH] remove legacy safe_flag check for -fno-plt This is supported by the minimum versions of the dependencies. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e67337a..259b1f9 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ $(shell $(CC) $(if $(filter clang,$(CC)),-Werror=unknown-warning-option) -E $1 - endef CPPFLAGS := $(CPPFLAGS) -D_GNU_SOURCE -I include -SHARED_FLAGS := -O3 -flto -fPIC -fvisibility=hidden $(call safe_flag,-fno-plt) \ +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