          /* complete failure, disable elision */
          init = -1;
 diff --git a/numpy/core/src/private/npy_fpmath.h b/numpy/core/src/private/npy_fpmath.h
-index 86b9cf3..ce16058 100644
+index 86b9cf3..6901c87 100644
 --- a/numpy/core/src/private/npy_fpmath.h
 +++ b/numpy/core/src/private/npy_fpmath.h
 @@ -7,6 +7,8 @@
  #include "numpy/npy_cpu.h"
  #include "numpy/npy_common.h"
  
-+#define HAVE_LDOUBLE_IEEE_DOUBLE_LE
++//#define HAVE_LDOUBLE_IEEE_DOUBLE_LE
 +
  #ifdef NPY_OS_DARWIN
      /* This hardcoded logic is fragile, but universal builds makes it
       * difficult to detect arch-specific features */
 diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
-index 93a8e6f..ae3cbfa 100644
+index 93a8e6f..7f436db 100644
 --- a/numpy/distutils/system_info.py
 +++ b/numpy/distutils/system_info.py
 @@ -698,9 +698,11 @@ class system_info(object):

             # Use the system lapack from Accelerate or vecLib under OSX
             args = []
-            link_args = []
+            link_args = ['-lgcc', '-lc', '-ldl', '-L'+os.environ['ANDROID_NDK']+'/toolchains/renderscript/prebuilt/'+os.uname().sysname.lower()+'-x86_64/platform/arm'] #, '-lcompiler_rt']
+            """
             if get_platform()[-4:] == 'i386' or 'intel' in get_platform() or \
                'x86_64' in get_platform() or \

From 21306078ec23b8f24f7563f053a7c85943a4cb4c Mon Sep 17 00:00:00 2001
From: river <riverfor@gmail.com>
Date: Wed, 23 May 2018 05:12:53 -0400
Subject: [PATCH] cross-compile

---
