diff options
author | Adrian Bunk <adrian.bunk@movial.com> | 2009-09-09 16:31:40 +0300 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2010-02-04 11:54:58 -0800 |
commit | 227782d45d14ca0d68ee73b54eab71c1582dcbfa (patch) | |
tree | 799c847a6f78adf3070e1f07c3e1e78a1fe1e383 /liboil/arm/math_vfp.c | |
parent | 7a154119019b14aa532c73e635be4e4905f0652e (diff) | |
download | liboil-227782d45d14ca0d68ee73b54eab71c1582dcbfa.tar.gz |
fix ARM -mfloat-abi=soft builds
If __SOFTFP__ is defined, VFP support is not available
even when __VFP_FP__ is defined.
Diffstat (limited to 'liboil/arm/math_vfp.c')
-rw-r--r-- | liboil/arm/math_vfp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liboil/arm/math_vfp.c b/liboil/arm/math_vfp.c index ffd3981..0bed96e 100644 --- a/liboil/arm/math_vfp.c +++ b/liboil/arm/math_vfp.c @@ -30,7 +30,7 @@ #include <liboil/liboilclasses.h> #include <liboil/liboilfunction.h> -#if __VFP_FP__ +#if defined(__VFP_FP__) && !defined(__SOFTFP__) extern void vfp_add_f32 (float *d, const float *s1, const float *s2, int n); extern void vfp_add_f64 (double *d, const double *s1, const double *s2, int n); |