public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Iain D Sandoe <iains@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-8249] Darwin, configure: Handle a missing substitution.
Date: Thu, 18 Jan 2024 15:04:15 +0000 (GMT)	[thread overview]
Message-ID: <20240118150415.F07CA3858C53@sourceware.org> (raw)

https://gcc.gnu.org/g:569ebd6bdd45cb5f90634c93e9623d96928b4fce

commit r14-8249-g569ebd6bdd45cb5f90634c93e9623d96928b4fce
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Thu Jan 18 09:56:42 2024 +0000

    Darwin, configure: Handle a missing substitution.
    
    The configure substitution for enable_darwin_at_rpath has been
    omitted, which leads to a failure to set ENABLE_DARWIN_AT_RPATH in
    the testsuite site.exp (which leads to failure to add -B options
    in some cases, breaking uninstalled testing there).
    
    Since we already have substitutions for ENABLE_DARWIN_AT_RPATH_TRUE
    we can use that instead, which is what this patch does.
    
    gcc/ChangeLog:
    
            * Makefile.in: Emit ENABLE_DARWIN_AT_RPATH into site.exp
            when ENABLE_DARWIN_AT_RPATH_TRUE is not '#'.
    
    Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>

Diff:
---
 gcc/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index deb12e17d25..95caa54a52b 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -4303,7 +4303,7 @@ site.exp: ./config.status Makefile
 	  echo "set COMPAT_OPTIONS \"$(COMPAT_OPTIONS)\"" >> ./site.tmp; \
 	else true; \
 	fi
-	@if test "x@enable_darwin_at_rpath@" = "xyes" ; then \
+	@if test "X@ENABLE_DARWIN_AT_RPATH_TRUE@" != "X#" ; then \
 	  echo "set ENABLE_DARWIN_AT_RPATH 1" >> ./site.tmp; \
 	fi
 	@echo "## All variables above are generated by configure. Do Not Edit ##" >> ./site.tmp

                 reply	other threads:[~2024-01-18 15:04 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=20240118150415.F07CA3858C53@sourceware.org \
    --to=iains@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.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: link
Be 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).