From: Rob Clark Date: Tue, 20 Jan 2015 18:04:12 +0000 (-0500) Subject: drm/msm: fix build error with W=1 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1c19f98d2bb59ba50d0a5e1fd9aaa49c1c6757a0;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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 \