From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 062A638515EA; Wed, 26 Jan 2022 08:10:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 062A638515EA Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] libgloss: define default target_makefile_frag in top-level X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 5420733ef33819384737a3ef09926253502d4d66 X-Git-Newrev: 6d8c4e4ba13861cac3ba5749c2aabcbb7996ee49 Message-Id: <20220126081048.062A638515EA@sourceware.org> Date: Wed, 26 Jan 2022 08:10:48 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2022 08:10:48 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D6d8c4e4ba13= 861cac3ba5749c2aabcbb7996ee49 commit 6d8c4e4ba13861cac3ba5749c2aabcbb7996ee49 Author: Mike Frysinger Date: Mon Jan 24 00:23:10 2022 -0500 libgloss: define default target_makefile_frag in top-level =20 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=3D"libnosys" enable_option_checking=3Dno ac_subst_vars=3D'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=3D'host_makefile_frag' +ac_subst_files=3D'host_makefile_frag +target_makefile_frag' ac_user_opts=3D' enable_option_checking enable_silent_rules @@ -3335,10 +3337,14 @@ test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFL= AGS =20 =20 host_makefile_frag=3D${srcdir}/config/default.mh +target_makefile_frag=3D${srcdir}/config/default.mt =20 host_makefile_frag_path=3D$host_makefile_frag =20 =20 +target_makefile_frag_path=3D$target_makefile_frag + + =20 if test "${multilib}" =3D "yes"; then multilib_arg=3D"--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 =20 host_makefile_frag=3D${srcdir}/config/default.mh +target_makefile_frag=3D${srcdir}/config/default.mt =20 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=3D$host_makefile_frag AC_SUBST(host_makefile_frag_path) AC_SUBST_FILE(host_makefile_frag) +target_makefile_frag_path=3D$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) =20 if test "${multilib}" =3D "yes"; then multilib_arg=3D"--enable-multilib"