From 1c19f98d2bb59ba50d0a5e1fd9aaa49c1c6757a0 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 20 Jan 2015 13:04:12 -0500 Subject: [PATCH] drm/msm: fix build error with W=1 Combining -Werror with all the extra warning flags that W=1 adds doesn't go so well. Especially because some of the warnings triggered are from included headers. So just drop -Werror. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/msm/Makefile b/drivers/gpu/drm/msm/Makefile index e5464a021dc7..674a132fd76e 100644 --- a/drivers/gpu/drm/msm/Makefile +++ b/drivers/gpu/drm/msm/Makefile @@ -1,7 +1,4 @@ ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm -ifeq (, $(findstring -W,$(EXTRA_CFLAGS))) - ccflags-y += -Werror -endif msm-y := \ adreno/adreno_device.o \ -- GitLab