Merge "scripts: correct cflags for kasan"

This commit is contained in:
Linux Build Service Account 2017-09-11 19:13:06 -07:00 committed by Gerrit - the friendly Code Review server
commit e2903e352e

View file

@ -125,7 +125,7 @@ endif
#
ifeq ($(CONFIG_KASAN),y)
_c_flags += $(if $(patsubst n%,, \
$(KASAN_SANITIZE_$(basetarget).o)$(KASAN_SANITIZE)$(CONFIG_KASAN_SANITIZE_ALL)), \
$(KASAN_SANITIZE_$(basetarget).o)$(KASAN_SANITIZE)y), \
$(CFLAGS_KASAN))
endif