mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
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 <nbenech@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2147094 GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
e863c846f2
commit
4108e9e437
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user