Skip to contentSkip to conversation

configure: missing Android config options

PATCH In review Aaron Carroll 2 participants 2 messages Feb 18, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: missing Android config options

We need this for the run-time endianness check to pass. Add supported clock monotonic while we're at it.

---
 configure |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
configure +2 -1
index 8267e1c..caaf30e 100755
@@ -227,9 +227,11 @@ CYGWIN*)
   ;;
 Android)
   output_sym "CONFIG_32BIT"
+  output_sym "CONFIG_LITTLE_ENDIAN"
   output_sym "CONFIG_SOCKLEN_T"
   output_sym "CONFIG_GETTIMEOFDAY"
   output_sym "CONFIG_CLOCK_GETTIME"
+  output_sym "CONFIG_CLOCK_MONOTONIC"
   echo "CC=$cc" >> $config_host_mak
   echo "EXTFLAGS=$CFLAGS -include config-host.h -DFIO_NO_HAVE_SHM_H
-D_GNU_SOURCE" >> $config_host_mak

exit 0

Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 2 lines · Aaron Carroll

We need this for the run-time endianness check to pass. Add supported clock monotonic while we're at it.

Thanks Aaron, applied.

Signature · 1 line
Jens Axboe