public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: remove unused fenv flags Date: Fri, 11 Feb 2022 11:26:39 +0000 (GMT) [thread overview] Message-ID: <20220211112639.8EBE33858035@sourceware.org> (raw) 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:
reply other threads:[~2022-02-11 11:26 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220211112639.8EBE33858035@sourceware.org \ --to=vapier@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).