Commit 466bb278 by Greg Hartman Committed by Nicolas Capens

Add -Wno-sentinel that is needed on Android K

Bug b/75229322 Test: Local build of K Fixes build break ab/4660759 Change-Id: Ib2cb43594b331c4415650517df65e8ccd497f820 Reviewed-on: https://swiftshader-review.googlesource.com/18190Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent f7a3ff04
...@@ -418,6 +418,11 @@ else ...@@ -418,6 +418,11 @@ else
LOCAL_CFLAGS += -D__STDC_INT64__ LOCAL_CFLAGS += -D__STDC_INT64__
endif endif
ifeq (19,${PLATFORM_SDK_VERSION})
# The compiler that shipped with K had false positives for missing sentinels
LOCAL_CFLAGS += -Wno-sentinel
endif
LOCAL_CFLAGS += -fomit-frame-pointer -Os -ffunction-sections -fdata-sections LOCAL_CFLAGS += -fomit-frame-pointer -Os -ffunction-sections -fdata-sections
LOCAL_CFLAGS += -fno-operator-names -msse2 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS LOCAL_CFLAGS += -fno-operator-names -msse2 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
LOCAL_CFLAGS += -std=c++11 LOCAL_CFLAGS += -std=c++11
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment