aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2017-02-23 15:55:59 -0800
committerChristopher Ferris <cferris@google.com>2017-02-24 09:35:50 -0800
commit2a1020b73bc37e87ca6dc0619dd1ea7788d8a242 (patch)
tree17cd35286e2dd6919ab03386e514fddb1d813a39
parentec2917363c948b0a7b0a5a831c4b6902ce897c8f (diff)
downloaddtc-2a1020b73bc37e87ca6dc0619dd1ea7788d8a242.tar.gz
The new kernel headers do: #define __bitwise __bitwise__ However, the code redefines __bitwise without undef'ing it first. This is a temporary fix, b/35721782 filed to fix this. Change-Id: Ic16796a599dc577b4fef7f8e2a586162160955fb Test: Builds without warningers/errors.
-rw-r--r--libfdt/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libfdt/Android.mk b/libfdt/Android.mk
index a62d9ff..bca674e 100644
--- a/libfdt/Android.mk
+++ b/libfdt/Android.mk
@@ -15,6 +15,7 @@ common_src_files := \
include $(CLEAR_VARS)
+LOCAL_CFLAGS := -Wno-macro-redefined
LOCAL_SRC_FILES := $(common_src_files)
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_MODULE := libfdt
@@ -26,6 +27,7 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
+LOCAL_CFLAGS := -Wno-macro-redefined
LOCAL_SRC_FILES := $(common_src_files)
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_MODULE := libfdt