Skip to content

Commit

Permalink
Fix error building with ndk r15b
Browse files Browse the repository at this point in the history
Signed-off-by: Shaka Huang <[email protected]>
  • Loading branch information
shakalaca committed Jul 13, 2017
1 parent 2f4fbd9 commit d6bcfce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Android_library.mk
Original file line number Diff line number Diff line change
Expand Up @@ -300,12 +300,13 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libcutils

LOCAL_CFLAGS := \
-Werror -Wall -Wextra -std=gnu90
-Werror -Wall -Wextra -std=gnu90 -Wno-typedef-redefinition

LOCAL_CPPFLAGS := -std=c++14

LOCAL_C_INCLUDES := \
src/system/core/include
src/system/core/include \
$(NDK_ROOT)/platforms/$(TARGET_PLATFORM)/arch-$(TARGET_ARCH)/usr/include

LOCAL_SRC_FILES += \
src/system/core/libcutils/atomic.c.arm \
Expand Down

0 comments on commit d6bcfce

Please sign in to comment.