Fix Fedora and Red Hat feature tests
They use a hardened build and include flags like -Werror=XXX and -Wp,FORTIFY_SOURCEpull/759/head
parent
a6067da355
commit
7656ff2b49
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue