diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2015-04-22 14:24:11 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2015-04-22 14:24:11 +0000 |
commit | 85da5c3024f731e719c4093314da8edcd1056527 (patch) | |
tree | 636830d5fd7cdbaddef6d5f2a37808ebcaf43d22 /libstdc++-v3/configure.host | |
parent | 15aa7b447218e45da835472bbf4740ae00db9982 (diff) | |
download | gcc-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 'libstdc++-v3/configure.host')
-rw-r--r-- | libstdc++-v3/configure.host | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host index 82ddc52..a349ce3 100644 --- a/libstdc++-v3/configure.host +++ b/libstdc++-v3/configure.host @@ -271,6 +271,9 @@ case "${host_os}" in freebsd*) os_include_dir="os/bsd/freebsd" ;; + linux-musl*) + os_include_dir="os/generic" + ;; gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu) if [ "$uclibc" = "yes" ]; then os_include_dir="os/uclibc" |