diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-24 00:23:10 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-25 21:56:47 -0500 |
commit | 6d8c4e4ba13861cac3ba5749c2aabcbb7996ee49 (patch) | |
tree | 28980eee782f7f8f5fb8ab31fdbe98fb870fb381 | |
parent | 5420733ef33819384737a3ef09926253502d4d66 (diff) | |
download | newlib-6d8c4e4ba13861cac3ba5749c2aabcbb7996ee49.zip newlib-6d8c4e4ba13861cac3ba5749c2aabcbb7996ee49.tar.gz newlib-6d8c4e4ba13861cac3ba5749c2aabcbb7996ee49.tar.bz2 |
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.
-rwxr-xr-x | libgloss/configure | 8 | ||||
-rw-r--r-- | libgloss/configure.ac | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/libgloss/configure b/libgloss/configure index eb575b2..9cf6703 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 9cbbf58..89274fe 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" |