]> sourceware.org Git - newlib-cygwin.git/commitdiff
libgloss: define default target_makefile_frag in top-level
authorMike Frysinger <vapier@gentoo.org>
Mon, 24 Jan 2022 05:23:10 +0000 (00:23 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 26 Jan 2022 02:56:47 +0000 (21:56 -0500)
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
libgloss/configure.ac

index eb575b237d65c75c5ba626f9ef2dac94fd15e76b..9cf67031fe17ec55b5151bf4835f36aba2c94aad 100755 (executable)
@@ -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"
index 9cbbf58cc7cba177f457be2fe63d65c4b7f77ddb..89274fede8b64b19003015b9b1bcdb4e8bf7f35b 100644 (file)
@@ -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"
This page took 0.036195 seconds and 5 git commands to generate.