From be080b6c143901d998c91f28ef7b2fe4a25c0237 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Mon, 23 Oct 2017 15:31:37 +0100 Subject: aarch64: Add missing math Makefile for recent commit Without -fno-math-errno, the builtins just do a call instead of inlining a single instruction. --- sysdeps/aarch64/fpu/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sysdeps/aarch64/fpu/Makefile (limited to 'sysdeps/aarch64/fpu/Makefile') diff --git a/sysdeps/aarch64/fpu/Makefile b/sysdeps/aarch64/fpu/Makefile new file mode 100644 index 0000000000..bf38f2c589 --- /dev/null +++ b/sysdeps/aarch64/fpu/Makefile @@ -0,0 +1,8 @@ +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 +endif -- cgit 1.4.1