aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/acinclude.m4
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2015-04-22 14:24:11 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2015-04-22 14:24:11 +0000
commit85da5c3024f731e719c4093314da8edcd1056527 (patch)
tree636830d5fd7cdbaddef6d5f2a37808ebcaf43d22 /libgfortran/acinclude.m4
parent15aa7b447218e45da835472bbf4740ae00db9982 (diff)
downloadgcc-85da5c3024f731e719c4093314da8edcd1056527.zip
gcc-85da5c3024f731e719c4093314da8edcd1056527.tar.gz
gcc-85da5c3024f731e719c4093314da8edcd1056527.tar.bz2
libstdc++, libgfortran gthr workaround for musl
On behalf of szabolcs.nagy@arm.com [libstdc++-v3/] 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com> * config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define. * configure.host (os_include_dir): Set to "os/generic" for linux-musl*. [libgfortran/] 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com> * acinclude.m4 (GTHREAD_USE_WEAK): Define as 0 for *-*-musl*. * configure: Regenerate. From-SVN: r222329
Diffstat (limited to 'libgfortran/acinclude.m4')
-rw-r--r--libgfortran/acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/acinclude.m4 b/libgfortran/acinclude.m4
index ba890f9..30b8b1a6 100644
--- a/libgfortran/acinclude.m4
+++ b/libgfortran/acinclude.m4
@@ -100,7 +100,7 @@ void foo (void);
[Define to 1 if the target supports #pragma weak])
fi
case "$host" in
- *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
+ *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
AC_DEFINE(GTHREAD_USE_WEAK, 0,
[Define to 0 if the target shouldn't use #pragma weak])
;;