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 cygwin -I path Date: Tue, 1 Feb 2022 03:20:34 +0000 (GMT) [thread overview] Message-ID: <20220201032034.310813858C83@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6a59fc444b46681b59ce3152cfbd3c9e024455fa commit 6a59fc444b46681b59ce3152cfbd3c9e024455fa Author: Mike Frysinger <vapier@gentoo.org> Date: Thu Jan 27 19:29:14 2022 -0500 newlib: fix cygwin -I path This code snippet assumed it was only ever run in the top configure script where srcdir would point to newlib/ which is parallel to the winsup/ tree. This is incorrect for all of the subdir configure scripts leading to bad -I flags in $(CC). Switch it over to the new abs_newlib_basedir which should work in all subdirs. Diff: --- newlib/configure.host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/configure.host b/newlib/configure.host index ca6b46f03..bf4a555e6 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -641,7 +641,7 @@ esac case "${host}" in *-*-cygwin*) - test -z "$cygwin_srcdir" && cygwin_srcdir=`cd ${srcdir}/../winsup/cygwin; pwd` + test -z "$cygwin_srcdir" && cygwin_srcdir="${abs_newlib_basedir}/../winsup/cygwin" export cygwin_srcdir default_newlib_io_c99_formats="yes" default_newlib_io_long_long="yes"
reply other threads:[~2022-02-01 3:20 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=20220201032034.310813858C83@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).