mirror of
https://github.com/facebook/zstd.git
synced 2025-11-28 00:04:28 -05:00
Merge pull request #2994 from hjl-tools/hjl/cet-report/dev
x86: Append -z cet-report=error to LDFLAGS
This commit is contained in:
commit
c7e8315d88
@ -114,6 +114,10 @@ CFLAGS += -Qunused-arguments -Wa,--noexecstack
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(shell echo "int main(int argc, char* argv[]) { (void)argc; (void)argv; return 0; }" | $(CC) $(FLAGS) -z cet-report=error -x c -Werror - -o $(VOID) 2>$(VOID) && echo 1 || echo 0),1)
|
||||||
|
LDFLAGS += -z cet-report=error
|
||||||
|
endif
|
||||||
|
|
||||||
HAVE_COLORNEVER = $(shell echo a | grep --color=never a > /dev/null 2> /dev/null && echo 1 || echo 0)
|
HAVE_COLORNEVER = $(shell echo a | grep --color=never a > /dev/null 2> /dev/null && echo 1 || echo 0)
|
||||||
GREP_OPTIONS ?=
|
GREP_OPTIONS ?=
|
||||||
ifeq ($HAVE_COLORNEVER, 1)
|
ifeq ($HAVE_COLORNEVER, 1)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user