diff options
author | Vladimir Vishnevsky <vv.os.swe@gmail.com> | 2020-12-15 11:40:07 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-12-15 11:45:26 +0000 |
commit | a929b39aa32a6bc65158bd8e32ce96bc1c906065 (patch) | |
tree | a58e8ae48fb67c68854bfe57480dffc8d32613d5 | |
parent | cf4ed3b41594b6935a337fe0aaf8149eadf88751 (diff) | |
download | gcc-a929b39aa32a6bc65158bd8e32ce96bc1c906065.zip gcc-a929b39aa32a6bc65158bd8e32ce96bc1c906065.tar.gz gcc-a929b39aa32a6bc65158bd8e32ce96bc1c906065.tar.bz2 |
libstdc++: Disabling AC_LIBTOOL_DLOPEN check if building with avr-libc
The AC_LIBTOOL_DLOPEN checks were previously disabled for newlib targets.
The patch applies similar logic to avr-libc based builds.
libstdc++-v3/ChangeLog:
* configure.ac: Skip AC_LIBTOOL_DLOPEN check if avr-libc is used.
* configure: Regenerate.
-rwxr-xr-x | libstdc++-v3/configure | 2 | ||||
-rw-r--r-- | libstdc++-v3/configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index d7a4826..e6f30a1 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -5899,7 +5899,7 @@ $as_echo "$as_me: OS config directory is $os_include_dir" >&6;} # Libtool setup. -if test "x${with_newlib}" != "xyes"; then +if test "x${with_newlib}" != "xyes" && test "x${with_avrlibc}" != "xyes"; then enable_dlopen=yes diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index cbfdf4c..7718141 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -90,7 +90,7 @@ AC_SYS_LARGEFILE GLIBCXX_CONFIGURE # Libtool setup. -if test "x${with_newlib}" != "xyes"; then +if test "x${with_newlib}" != "xyes" && test "x${with_avrlibc}" != "xyes"; then AC_LIBTOOL_DLOPEN fi AM_PROG_LIBTOOL |