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: fix mips fenv.o handling Date: Thu, 17 Feb 2022 01:41:14 +0000 (GMT) [thread overview] Message-ID: <20220217014114.2A1BF3858D20@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=beadbdfc048d6c4baa16cfae25d427797deb9feb commit beadbdfc048d6c4baa16cfae25d427797deb9feb Author: Mike Frysinger <vapier@gentoo.org> Date: Mon Feb 7 01:44:45 2022 -0500 newlib: fix mips fenv.o handling Commit 8fa73a9f8414a4926365324c2fe32a237c2eb91d changed how fenv.c is compiled wrt mips16 targets used the wrong variable to add fenv.o to libm.a. Fix that thinko so it's included in the build again. Diff: --- newlib/libm/machine/mips/Makefile.am | 2 +- newlib/libm/machine/mips/Makefile.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/newlib/libm/machine/mips/Makefile.am b/newlib/libm/machine/mips/Makefile.am index ff29858be..e72cd764a 100644 --- a/newlib/libm/machine/mips/Makefile.am +++ b/newlib/libm/machine/mips/Makefile.am @@ -11,7 +11,7 @@ noinst_LIBRARIES = lib.a lib_a_SOURCES = $(LIB_SOURCES) lib_a_CFLAGS = $(AM_CFLAGS) -LIBADD_OBJS = \ +lib_a_LIBADD = \ lib_a-fenv.$(OBJEXT) # fenv.c cannot be compiled as mips16 since it uses the cfc1 instruction diff --git a/newlib/libm/machine/mips/Makefile.in b/newlib/libm/machine/mips/Makefile.in index 0868877bb..1f9fbce6f 100644 --- a/newlib/libm/machine/mips/Makefile.in +++ b/newlib/libm/machine/mips/Makefile.in @@ -111,7 +111,7 @@ am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = lib_a_AR = $(AR) $(ARFLAGS) -lib_a_LIBADD = +lib_a_DEPENDENCIES = lib_a-fenv.$(OBJEXT) am__objects_1 = lib_a-feclearexcept.$(OBJEXT) lib_a-fegetenv.$(OBJEXT) \ lib_a-fegetexceptflag.$(OBJEXT) lib_a-fegetround.$(OBJEXT) \ lib_a-feholdexcept.$(OBJEXT) lib_a-feraiseexcept.$(OBJEXT) \ @@ -305,7 +305,7 @@ LIB_SOURCES = \ noinst_LIBRARIES = lib.a lib_a_SOURCES = $(LIB_SOURCES) lib_a_CFLAGS = $(AM_CFLAGS) -LIBADD_OBJS = \ +lib_a_LIBADD = \ lib_a-fenv.$(OBJEXT) all: all-am
reply other threads:[~2022-02-17 1:41 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=20220217014114.2A1BF3858D20@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).