[PATCH] newlib: remove unused fenv flags
Mike Frysinger
vapier@gentoo.org
Thu Feb 10 05:53:47 GMT 2022
These look like they were just copied & pasted from common/Makefile.am.
The funcs in this dir are all stubs that don't actually call any math
or builtin functions, and a simple compile shows they produce identical
object code. So delete to simplify the build rules.
---
newlib/libm/fenv/Makefile.am | 3 --
newlib/libm/fenv/Makefile.in | 90 +++---------------------------------
2 files changed, 6 insertions(+), 87 deletions(-)
diff --git a/newlib/libm/fenv/Makefile.am b/newlib/libm/fenv/Makefile.am
index 50b59004c17e..66755e394cb7 100644
--- a/newlib/libm/fenv/Makefile.am
+++ b/newlib/libm/fenv/Makefile.am
@@ -6,11 +6,8 @@ src = feclearexcept.c fe_dfl_env.c fegetenv.c fegetexceptflag.c \
fegetround.c feholdexcept.c feraiseexcept.c fesetenv.c \
fesetexceptflag.c fesetround.c fetestexcept.c feupdateenv.c
-lib_a_CFLAGS = -fbuiltin -fno-math-errno
-
noinst_LIBRARIES = lib.a
lib_a_SOURCES = $(src)
-lib_a_CFLAGS += $(AM_CFLAGS)
# A partial dependency list.
--
2.34.1
More information about the Newlib
mailing list