Remove -c flag. Erroneous output caused on android
authorVenkatesh Shukla <venkatesh.shukla.eee11@iitbhu.ac.in>
Sat, 21 Jun 2014 17:30:21 +0000 (23:00 +0530)
committerChris Dickens <christopher.a.dickens@gmail.com>
Sun, 1 Mar 2015 09:15:58 +0000 (01:15 -0800)
While cross-building for android, the -c flag was causing errors.
This -c option ends up in Libs.private of libusb-1.0.pc file.
On its usage, it is interpreted as "Compile and assemble, but do not link"
option of gcc. Usage of -c in this way might be unintended.
Hence, removing this option.

Signed-off-by: Venkatesh Shukla <venkatesh.shukla.eee11@iitbhu.ac.in>
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
configure.ac
libusb/version_nano.h

index 399f397..aeafcdc 100644 (file)
@@ -127,9 +127,6 @@ linux)
 
 case $is_backend_android in
 yes)
-       dnl some pthread functions is in libc
-       THREAD_CFLAGS="-c"
-       LIBS="${LIBS} -c"
        dnl there are gettimeofday function but configure doesn't seem to be able to find it.
        AC_DEFINE([HAVE_GETTIMEOFDAY], [1], [Define if you have gettimeofday])
        ;;
index 8834b25..4414de6 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10965
+#define LIBUSB_NANO 10966