aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-10-16 03:30:06 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-10-16 03:35:54 +0200
commita0e8f280a558e64d2e0c117e588db074bfada199 (patch)
treebd0fce0a6cfa3790e71c72fe4478a43dd6d6fc52
parent072e8bb17efd87ce173e2b768d22adc881ab26c8 (diff)
downloadexternal_evtest-a0e8f280a558e64d2e0c117e588db074bfada199.tar.gz
external_evtest-a0e8f280a558e64d2e0c117e588db074bfada199.tar.bz2
external_evtest-a0e8f280a558e64d2e0c117e588db074bfada199.zip
Remove -Werror=incompatible-pointer-types leftover from Mesareplicant-6.0-0004-rc4replicant-6.0-0004-rc3
The following commit broke the build under Replicant 6.0: 072e8bb Make it compile under Android 10 This is due to the accidental addition of -Werror=incompatible-pointer-types that was in between other flags that made the compiler more permissive: cc1: error: -Werror=incompatible-pointer-types: no option -Wincompatible-pointer-types cc1: warning: unrecognized command line option "-Wno-mismatched-tags" cc1: warning: unrecognized command line option "-Wno-initializer-overrides" build/core/binary.mk:825: recipe for target '.../out/target/product/i9300/obj/EXECUTABLES/evtest_intermediates/evtest.o' failed make: *** [.../out/target/product/i9300/obj/EXECUTABLES/evtest_intermediates/evtest.o] Error 1 As all the other flags introduced by the commit mentioned above are making the compiler more permissive, keeping them should not create any issues as they are simply ignored when they are not recognized by the compiler. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--Android.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 831f2cb..14fb5ff 100644
--- a/Android.mk
+++ b/Android.mk
@@ -6,7 +6,6 @@ include $(CLEAR_VARS)
# Android.common.mk
LOCAL_CFLAGS += \
-Wno-error \
- -Werror=incompatible-pointer-types \
-Wno-unused-parameter \
-Wno-pointer-arith \
-Wno-missing-field-initializers \