Android: fixes unknown warning option from ndk build
authorAaron Luft <aluft@logitech.com>
Fri, 17 Apr 2020 15:30:12 +0000 (11:30 -0400)
committerLudovic Rousseau <ludovic.rousseau@free.fr>
Fri, 17 Apr 2020 16:41:55 +0000 (18:41 +0200)
A command line option is not correct.
Fix by spelling the option correctly.

BEFORE

[x86] Compile        : xusb <= xusb.c
warning: unknown warning option '-Werror=unintialized'; did you mean '-Werror=uninitialized'? [-Wunknown-warning-option]

AFTER

[x86] Compile        : xusb <= xusb.c
[x86] Executable     : xusb
[x86] Install        : xusb => libs/x86/xusb

android/jni/Application.mk
libusb/version_nano.h

index 12e57d1..c113726 100644 (file)
@@ -32,7 +32,7 @@ APP_CFLAGS := \
   -Werror=missing-prototypes \
   -Werror=strict-prototypes \
   -Werror=undef \
-  -Werror=unintialized
+  -Werror=uninitialized
 
 # Workaround for MIPS toolchain linker being unable to find liblog dependency
 # of shared object in NDK versions at least up to r9.
index 383d63e..98829f4 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 11498
+#define LIBUSB_NANO 11499