autoconf-archive-maintainers | |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #8585] ax_pthread and different CFLAGS and LDFLAGS
From: |
Pavel Janík |
Subject: |
[patch #8585] ax_pthread and different CFLAGS and LDFLAGS |
Date: |
Wed, 10 Feb 2016 21:08:22 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4 |
Follow-up Comment #3, patch #8585 (project autoconf-archive):
Hi,
no problem for the delay. Thank you for your work!
I have replaced our (Bitcoin Core) copy of ax_pthread.m4 with draft3.
configure output changes (diff against our master):
-checking if compiler needs -Werror to reject unknown flags... yes
-checking whether pthreads work with -pthread... yes
+checking whether gcc is Clang... yes
+checking whether Clang needs flag to prevent "argument unused" warning when
linking with -pthread... -Qunused-arguments
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
-checking if more special flags are required for pthreads... -D_THREAD_SAFE
+checking whether more special flags are required for pthreads... no
Ie. expected.
The build finished without issues on OS X without these messages:
-clang: warning: argument unused during compilation: '-pthread'
-clang: warning: argument unused during compilation: '-pie'
-clang: warning: argument unused during compilation: '-pthread'
Ie. it works perfectly for our case.
Thank you!
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8585>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/