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 <robdclark@gmail.com>
This commit is contained in:
parent
2559d19f76
commit
1c19f98d2b
|
@ -1,7 +1,4 @@
|
||||||
ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm
|
ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm
|
||||||
ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
|
|
||||||
ccflags-y += -Werror
|
|
||||||
endif
|
|
||||||
|
|
||||||
msm-y := \
|
msm-y := \
|
||||||
adreno/adreno_device.o \
|
adreno/adreno_device.o \
|
||||||
|
|
Loading…
Reference in a new issue