public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] libgloss: define default target_makefile_frag in top-level
@ 2022-01-25  9:12 Mike Frysinger
  2022-01-25 12:36 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2022-01-25  9:12 UTC (permalink / raw)
  To: newlib

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.
---
 libgloss/configure    | 8 +++++++-
 libgloss/configure.ac | 4 ++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/libgloss/configure b/libgloss/configure
index eb575b237d65..9cf67031fe17 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 9cbbf58cc7cb..89274fede8b6 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"
-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] libgloss: define default target_makefile_frag in top-level
  2022-01-25  9:12 [PATCH] libgloss: define default target_makefile_frag in top-level Mike Frysinger
@ 2022-01-25 12:36 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2022-01-25 12:36 UTC (permalink / raw)
  To: newlib

On Jan 25 04:12, Mike Frysinger wrote:
> 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.
> ---
>  libgloss/configure    | 8 +++++++-
>  libgloss/configure.ac | 4 ++++
>  2 files changed, 11 insertions(+), 1 deletion(-)

Looks ok.  Please push.


Thanks,
Corinna


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-25 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-25  9:12 [PATCH] libgloss: define default target_makefile_frag in top-level Mike Frysinger
2022-01-25 12:36 ` Corinna Vinschen

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).