remove legacy safe_flag check for -fno-plt

This is supported by the minimum versions of the dependencies.
pull/170/head
Daniel Micay 2021-12-30 19:17:23 -05:00
parent cff1d6d4b5
commit 75e26afdb6
1 changed files with 1 additions and 1 deletions

View File

@ -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