Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-10 08:49:08 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-11 14:26:01 +0300
commitbf167aade1febc18159edeadf5a0a23fb0af9ea8 (patch)
treea67d492c7ed9d42b91028c79b5cfd9b5b0840920 /newlib/libm
parent5365a7deeedba63de81d8a48e1e4418f1521eeeb (diff)
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.
Diffstat (limited to 'newlib/libm')
-rw-r--r--newlib/libm/fenv/Makefile.am4
-rw-r--r--newlib/libm/fenv/Makefile.in2
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: