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] libgloss: define default target_makefile_frag in top-level Date: Wed, 26 Jan 2022 08:10:48 +0000 (GMT) [thread overview] Message-ID: <20220126081048.062A638515EA@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6d8c4e4ba13861cac3ba5749c2aabcbb7996ee49 commit 6d8c4e4ba13861cac3ba5749c2aabcbb7996ee49 Author: Mike Frysinger <vapier@gentoo.org> Date: Mon Jan 24 00:23:10 2022 -0500 libgloss: define default target_makefile_frag in top-level A bunch of subdirs want this, so make it available in the common dir to ease future merges. It isn't used directly in libgloss so it should be harmless as-is. Diff: --- libgloss/configure | 8 +++++++- libgloss/configure.ac | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/libgloss/configure b/libgloss/configure index eb575b237..9cf67031f 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -585,6 +585,7 @@ ac_unique_file="libnosys" enable_option_checking=no ac_subst_vars='LTLIBOBJS LIBOBJS +target_makefile_frag_path host_makefile_frag_path CCASFLAGS CCAS @@ -681,7 +682,8 @@ PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' -ac_subst_files='host_makefile_frag' +ac_subst_files='host_makefile_frag +target_makefile_frag' ac_user_opts=' enable_option_checking enable_silent_rules @@ -3335,10 +3337,14 @@ 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 +target_makefile_frag_path=$target_makefile_frag + + if test "${multilib}" = "yes"; then multilib_arg="--enable-multilib" diff --git a/libgloss/configure.ac b/libgloss/configure.ac index 9cbbf58cc..89274fede 100644 --- a/libgloss/configure.ac +++ b/libgloss/configure.ac @@ -199,6 +199,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 @@ -207,6 +208,9 @@ dnl host_makefile_frag_path=$host_makefile_frag AC_SUBST(host_makefile_frag_path) AC_SUBST_FILE(host_makefile_frag) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) if test "${multilib}" = "yes"; then multilib_arg="--enable-multilib"
reply other threads:[~2022-01-26 8:10 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=20220126081048.062A638515EA@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).