libstdc++: Do not embed tzdata.zi for 8-bit and 16-bit targets

The string literal containing the static tzdata.zi information is too
large for some targets, so do not enable it by default for avr-*-* and
msp430-*-*.

libstdc++-v3/ChangeLog:

	* acinclude.m4 (GLIBCXX_ZONEINFO_DIR) [avr-*-*, msp430-*-*]: Set
	embed_zoneinfo=no
	* configure: Regenerate.
This commit is contained in:
Jonathan Wakely 2023-01-31 22:11:49 +00:00
parent 88a2a09dd4
commit 7314558c93
2 changed files with 12 additions and 4 deletions

View file

@ -5201,8 +5201,12 @@ AC_DEFUN([GLIBCXX_ZONEINFO_DIR], [
zoneinfo_dir=none
;;
esac
# Also embed a copy of the tzdata.zi file as a static string.
embed_zoneinfo=yes
case "$host" in
avr-*-* | msp430-*-* ) embed_zoneinfo=no ;;
*)
# Also embed a copy of the tzdata.zi file as a static string.
embed_zoneinfo=yes ;;
esac
elif test "x${with_libstdcxx_zoneinfo}" = xno; then
# Disable tzdb support completely.
zoneinfo_dir=none

View file

@ -71557,8 +71557,12 @@ fi
zoneinfo_dir=none
;;
esac
# Also embed a copy of the tzdata.zi file as a static string.
embed_zoneinfo=yes
case "$host" in
avr-*-* | msp430-*-* ) embed_zoneinfo=no ;;
*)
# Also embed a copy of the tzdata.zi file as a static string.
embed_zoneinfo=yes ;;
esac
elif test "x${with_libstdcxx_zoneinfo}" = xno; then
# Disable tzdb support completely.
zoneinfo_dir=none