diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-10-12 18:09:21 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-10-12 18:17:07 +0200 |
commit | 072e8bb17efd87ce173e2b768d22adc881ab26c8 (patch) | |
tree | 987d4880d698778b558c7359f4992fab1e7fa4f3 /Android.mk | |
parent | cdbf414f2d23471ed2c84b0c44b055a3c34cb4f7 (diff) | |
download | external_evtest-072e8bb17efd87ce173e2b768d22adc881ab26c8.tar.gz external_evtest-072e8bb17efd87ce173e2b768d22adc881ab26c8.tar.bz2 external_evtest-072e8bb17efd87ce173e2b768d22adc881ab26c8.zip |
Make it compile under Android 10
In build/make with at least Android 9 and 10, many compilation
flags that turns compilation warnings into errors (like -Werror)
are passed to the clang compiler.
Here it would make no sense to maintain ourselves fixes to convert
all the evdev source code to compile with such flags, so until
someone fixes that in the upstream evdev project, it's better to
avoid such compilation flags.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -2,6 +2,17 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) +# The LOCAL_CFLAGS are imported from Mesa3d's +# Android.common.mk +LOCAL_CFLAGS += \ + -Wno-error \ + -Werror=incompatible-pointer-types \ + -Wno-unused-parameter \ + -Wno-pointer-arith \ + -Wno-missing-field-initializers \ + -Wno-initializer-overrides \ + -Wno-mismatched-tags \ + LOCAL_C_INCLUDES := \ bionic/libc/include/ |