From 31e6b205988a51d0419af29c8cfeccb8c6488544 Mon Sep 17 00:00:00 2001 From: Alex Deymo Date: Wed, 5 Oct 2016 09:44:33 -0700 Subject: Update and re-run androidconfigure. Minor changes to the command line passed to ./configure and updated the results. The new version requires to pass -DBUILDING_LIBCURL when building libcurl which is what the Makefile does. Bug: 31271247 Test: Build and run update_engine using the new curl library. Change-Id: I7e04269f01a3cc2e6959ef8c764a22a72c81aba0 --- Android.mk | 3 ++- androidconfigure | 1 + lib/curl_config.h | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Android.mk b/Android.mk index 6e61c1d9..691baf4e 100644 --- a/Android.mk +++ b/Android.mk @@ -14,7 +14,8 @@ curl_CFLAGS := -Wpointer-arith -Wwrite-strings -Wunused -Winline \ -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long \ -Wfloat-equal -Wno-multichar -Wno-sign-compare -Wno-format-nonliteral \ -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement \ - -Wno-system-headers -DHAVE_CONFIG_H -DOS='$(version_string)' -Werror + -Wno-system-headers -DHAVE_CONFIG_H -DOS='$(version_string)' -Werror \ + -DBUILDING_LIBCURL curl_includes := \ $(LOCAL_PATH)/include/ \ diff --git a/androidconfigure b/androidconfigure index f6c1aeaa..d9f25f44 100755 --- a/androidconfigure +++ b/androidconfigure @@ -19,6 +19,7 @@ CFLAGS=( "-isystem ${T}/external/libcxx/include" "-isystem ${T}/bionic/libc/include/" "-isystem ${T}/bionic/libc/arch-arm/include" + "-isystem ${T}/bionic/libc/kernel/android/uapi/" "-isystem ${T}/bionic/libc/kernel/uapi/" "-isystem ${T}/bionic/libc/kernel/uapi/asm-arm/" "-isystem ${T}/bionic/libm/include" diff --git a/lib/curl_config.h b/lib/curl_config.h index 0649de88..0288018f 100644 --- a/lib/curl_config.h +++ b/lib/curl_config.h @@ -570,7 +570,7 @@ /* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */ /* Define to 1 if you have the header file. */ -/* #undef HAVE_SGTTY_H */ +#define HAVE_SGTTY_H 1 /* Define to 1 if you have the sigaction function. */ #define HAVE_SIGACTION 1 @@ -714,7 +714,7 @@ #define HAVE_SYS_UN_H 1 /* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_UTIME_H */ +#define HAVE_SYS_UTIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_WAIT_H 1 -- cgit v1.2.3