From 9d1567ce16e486777c3f8f5aa5e016dc99082a7e Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 23 Oct 2018 15:55:45 -0400 Subject: [PATCH] make safe_flag check compatible with POSIX sh --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index db4e8c1..4d3a205 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ CONFIG_UBSAN := false CONFIG_SEAL_METADATA := false define safe_flag -$(shell $(CC) -E $1 - /dev/null && echo $1) +$(shell $(CC) -E $1 - /dev/null 2>&1 && echo $1) endef CPPFLAGS := -D_GNU_SOURCE