diff options
author | Miao Wang <miaowang@google.com> | 2015-07-15 01:29:28 -0700 |
---|---|---|
committer | Miao Wang <miaowang@google.com> | 2015-07-15 01:29:28 -0700 |
commit | 8a387c93d83d5375edf414497775e6145b447f40 (patch) | |
tree | 8aa0fca8a31de7cb0b09ca6810d20534fc44659b /blas | |
parent | 3d5aa45e219517b8fc597907f03f47795ab961ee (diff) | |
download | eigen-8a387c93d83d5375edf414497775e6145b447f40.tar.gz |
Make eigen and libblas able to build for API8 x86 target.
- WAR for missing posix_memalign on API 8
Change-Id: I9403eb52d83325f8429ca831d8a10b1f290ddc0c
Diffstat (limited to 'blas')
-rw-r--r-- | blas/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/blas/Android.mk b/blas/Android.mk index 1d4300bae..edddaea1b 100644 --- a/blas/Android.mk +++ b/blas/Android.mk @@ -60,6 +60,9 @@ LOCAL_CLANG := true # EIGEN_ANDROID_SSE_WR is for "Eigen Android SSE Work Around" # Will be removed after we understand it better. LOCAL_CFLAGS += -DEIGEN_ANDROID_SSE_WR +# EIGEN_ANDROID_POSIX_MEMALIGN_WR is for "Eigen Android posix_memalign Work Around" +# Only used for build for low Android API(x86 target) without posix_memalign. +LOCAL_CFLAGS += -DEIGEN_ANDROID_POSIX_MEMALIGN_WR LOCAL_MODULE := libF77blasV8 LOCAL_SDK_VERSION := 8 LOCAL_NDK_STL_VARIANT := stlport_static |