Fix Fedora and Red Hat feature tests

They use a hardened build and include flags like -Werror=XXX and -Wp,FORTIFY_SOURCE
pull/759/head
Jeffrey Walton 2018-12-05 18:35:21 -05:00
parent a6067da355
commit 7656ff2b49
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ endif
# Strip out -Wall, -Wextra and friends for feature testing # Strip out -Wall, -Wextra and friends for feature testing
ifeq ($(DETECT_FEATURES),1) ifeq ($(DETECT_FEATURES),1)
TCXXFLAGS := $(filter-out -Wall -Wextra -Werror -Wunused -Wconversion, $(CXXFLAGS)) TCXXFLAGS := $(filter-out -Wall -Wextra -Werror% -Wunused -Wconversion -Wp%, $(CXXFLAGS))
ifneq ($(strip $(TCXXFLAGS)),) ifneq ($(strip $(TCXXFLAGS)),)
$(info Using testing flags: $(TCXXFLAGS)) $(info Using testing flags: $(TCXXFLAGS))
endif endif