From 0047dbed14ca76db05fb263aed595f45798feb29 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Tue, 12 Jun 2018 15:28:26 -0700 Subject: [PATCH] Fix CLANG_EXTERNAL_CFLAGS logic Should be neq instead of eq. Test: build-full.ninja is now correct Change-Id: I26c0aa84d9b54a8b19f19124978ac1d49bae7448 --- core/binary.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/binary.mk b/core/binary.mk index 606761501..2899d4d51 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -407,7 +407,7 @@ endif # Extra cflags for projects under external/ directory ifeq ($(my_clang),true) -ifeq ($(filter external/%,$(LOCAL_PATH)),) +ifneq ($(filter external/%,$(LOCAL_PATH)),) my_cflags += $(CLANG_EXTERNAL_CFLAGS) endif endif