diff options
Diffstat (limited to 'sysdeps/aarch64/fpu/Makefile')
-rw-r--r-- | sysdeps/aarch64/fpu/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/aarch64/fpu/Makefile b/sysdeps/aarch64/fpu/Makefile new file mode 100644 index 0000000000..4a182bd6d6 --- /dev/null +++ b/sysdeps/aarch64/fpu/Makefile @@ -0,0 +1,14 @@ +ifeq ($(subdir),math) +CFLAGS-e_sqrtf.c += -fno-math-errno +CFLAGS-e_sqrt.c += -fno-math-errno +CFLAGS-s_lroundf.c += -fno-math-errno +CFLAGS-s_lround.c += -fno-math-errno +CFLAGS-s_llroundf.c += -fno-math-errno +CFLAGS-s_llround.c += -fno-math-errno +# GCC 4.9 and 5 requires the flag to correct emits a f{max,min}nm +# for a __builtin_{fmax,fmin}{f}. +CFLAGS-s_fmax.c += -ffinite-math-only +CFLAGS-s_fmaxf.c += -ffinite-math-only +CFLAGS-s_fmin.c += -ffinite-math-only +CFLAGS-s_fminf.c += -ffinite-math-only +endif |