From 4108e9e4370d17723b78d8e412f99b5679bffbcc Mon Sep 17 00:00:00 2001 From: Nicolas Benech Date: Tue, 2 Jul 2019 16:46:40 -0400 Subject: [PATCH] gpu: nvgpu: unit: add uninitialized check for host builds On-target builds are using -Wno-maybe-uninitialized which is helpful to avoid basic coding mistakes. This patch adds the same check for host builds. JIRA NVGPU-2225 Change-Id: I8fb4d26a7d417e3deedc3a58de760e7b0e50b559 Signed-off-by: Nicolas Benech Reviewed-on: https://git-master.nvidia.com/r/2147094 GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman Reviewed-by: mobile promotions Tested-by: mobile promotions --- userspace/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/Makefile b/userspace/Makefile index e90303b05..42e7d1765 100644 --- a/userspace/Makefile +++ b/userspace/Makefile @@ -87,7 +87,7 @@ CFLAGS = -Wall -Wextra -ggdb -Werror -Wno-unused-parameter \ -Wmissing-prototypes -Wredundant-decls -Wmain -Wreturn-type \ -Wmultichar -Wunused -Wmissing-braces -Wstrict-aliasing \ -Wsign-compare -Waddress -Wno-unused-local-typedefs -fPIC \ - $(INCLUDES) $(CONFIGS) + -Wno-maybe-uninitialized $(INCLUDES) $(CONFIGS) LIB_PATHS = -L$(OUT) LIBS = -lpthread -pthread -lgcov -ldl