public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] newlib: remove unused fenv flags
@ 2022-02-11 11:26 Michael Frysinger
0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-02-11 11:26 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=bf167aade1febc18159edeadf5a0a23fb0af9ea8
commit bf167aade1febc18159edeadf5a0a23fb0af9ea8
Author: Mike Frysinger <vapier@gentoo.org>
Date: Thu Feb 10 00:49:08 2022 -0500
newlib: remove unused fenv flags
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.
Diff:
---
newlib/libm/fenv/Makefile.am | 4 +---
newlib/libm/fenv/Makefile.in | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/newlib/libm/fenv/Makefile.am b/newlib/libm/fenv/Makefile.am
index 50b59004c..58cda3806 100644
--- a/newlib/libm/fenv/Makefile.am
+++ b/newlib/libm/fenv/Makefile.am
@@ -6,11 +6,9 @@ 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)
+lib_a_CFLAGS = $(AM_CFLAGS)
# A partial dependency list.
diff --git a/newlib/libm/fenv/Makefile.in b/newlib/libm/fenv/Makefile.in
index 222ab62d5..bdee7d66f 100644
--- a/newlib/libm/fenv/Makefile.in
+++ b/newlib/libm/fenv/Makefile.in
@@ -302,9 +302,9 @@ 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 $(AM_CFLAGS)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = $(src)
+lib_a_CFLAGS = $(AM_CFLAGS)
all: all-am
.SUFFIXES:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-11 11:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11 11:26 [newlib-cygwin] newlib: remove unused fenv flags Michael Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).