diff options
author | Alexey Pavlov <alexpux@gmail.com> | 2018-12-10 15:39:32 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2019-03-25 17:15:07 +0300 |
commit | a0014f88484d15b21a3e8e8f52048b88f607a4ba (patch) | |
tree | 8fd22862fc8a38c04f992c5bf6e6157a35fcf1e8 | |
parent | 08245608a0507248d6553b4f99bf7a4f930d769e (diff) | |
download | libatomic_ops-a0014f88484d15b21a3e8e8f52048b88f607a4ba.tar.gz |
Support MSYS host (configure)
* configure.ac [$host=*-*-msys*] (PICFLAG): Set to empty.
* configure.ac [$have_pthreads=true && $host=*-*-msys*] (THREADDLLIBS):
Likewise.
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 95ef756..5170370 100644 --- a/configure.ac +++ b/configure.ac @@ -42,7 +42,7 @@ if test "$GCC" = yes; then fi case "$host" in - *-*-cygwin* | *-*-mingw*) + *-*-cygwin* | *-*-mingw* | *-*-msys*) # Cygwin and Mingw[-w32/64] do not need -fPIC. AC_MSG_RESULT([not needed]) ;; @@ -219,7 +219,7 @@ if test x$have_pthreads = xtrue; then # against it. THREADDLLIBS= ;; - *-*-mingw*) + *-*-mingw* | *-*-msys*) # Use Win32 threads for tests anyway. THREADDLLIBS= # Skip test_atomic_pthreads. |