public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Jeff Law <law@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Fix builds on iq2000 and visium Date: Tue, 6 Jul 2021 14:48:14 +0000 (GMT) [thread overview] Message-ID: <20210706144814.F1E023888C69@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c01f603df9a30cc88f838da3226625506bfdde4f commit c01f603df9a30cc88f838da3226625506bfdde4f Author: Jeff Law <jeffreyalaw@gmail.com> Date: Tue Jul 6 10:46:09 2021 -0400 Fix builds on iq2000 and visium visium and iq2000 have libgloss configure bits that reference target_makefile_frag, but it's never set. This leads to failures during the configure process and an empty libgloss/<target>/Makefile. Naturally bad things happen with an empty Makefile. This patch initializes target_makefile_frag for both targets in their configure.in files and updates the generated configure files. This fixes the build failures. I've been using it in my tester for about a week and both targets have flipped from consistently failing to consistently passing. * libgloss/visium/configure.in (target_makefile_frag): Define. * libgloss/visium/configure: Regenerated. * libgloss/iq2000/configure.in (target_makefile_frag): Define. * libgloss/iq2000/configure: Regenerated. Diff: --- libgloss/iq2000/configure | 1 + libgloss/iq2000/configure.in | 1 + libgloss/visium/configure | 1 + libgloss/visium/configure.in | 1 + 4 files changed, 4 insertions(+) diff --git a/libgloss/iq2000/configure b/libgloss/iq2000/configure index 66a533bc8..4411837d4 100755 --- a/libgloss/iq2000/configure +++ b/libgloss/iq2000/configure @@ -2520,6 +2520,7 @@ test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt if test "${with_multisubdir}" = "m32"; then LD_TYPE="m32" diff --git a/libgloss/iq2000/configure.in b/libgloss/iq2000/configure.in index 9cbd7e2ea..754ee3cab 100644 --- a/libgloss/iq2000/configure.in +++ b/libgloss/iq2000/configure.in @@ -46,6 +46,7 @@ AC_PROG_RANLIB LIB_AM_PROG_AS host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt if test "${with_multisubdir}" = "m32"; then LD_TYPE="m32" diff --git a/libgloss/visium/configure b/libgloss/visium/configure index f1bb39a11..abd6f5b92 100755 --- a/libgloss/visium/configure +++ b/libgloss/visium/configure @@ -1946,6 +1946,7 @@ test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt host_makefile_frag_path=$host_makefile_frag diff --git a/libgloss/visium/configure.in b/libgloss/visium/configure.in index 33c1872c7..5274ba668 100644 --- a/libgloss/visium/configure.in +++ b/libgloss/visium/configure.in @@ -33,6 +33,7 @@ AC_PROG_RANLIB LIB_AM_PROG_AS host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt dnl We have to assign the same value to other variables because autoconf dnl doesn't provide a mechanism to substitute a replacement keyword with
reply other threads:[~2021-07-06 14:48 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=20210706144814.F1E023888C69@sourceware.org \ --to=law@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).