Skip to content

Commit

Permalink
build: reset pthread_cflags on cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrek committed Aug 26, 2024
1 parent 079eec6 commit a4c3dfa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/configure
Original file line number Diff line number Diff line change
Expand Up @@ -10460,6 +10460,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu



case "$SYSTEM" in
cygwin)
PTHREAD_CFLAGS=""
;;
esac

# On linux plaforms, we will have to check that includes from kernel are
# available. glibc version test was shamelessly taken from
# http://public.activestate.com/gsar/APC/perl-5.8.x/Configure
Expand Down
6 changes: 6 additions & 0 deletions config/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,12 @@ fi
echo "----- checking pthread support"
AX_PTHREAD

case "$SYSTEM" in
cygwin)
PTHREAD_CFLAGS=""
;;
esac

# On linux plaforms, we will have to check that includes from kernel are
# available. glibc version test was shamelessly taken from
# http://public.activestate.com/gsar/APC/perl-5.8.x/Configure
Expand Down

0 comments on commit a4c3dfa

Please sign in to comment.