|
From: | anonymous |
Subject: | [patch #8186] ax_pthread adds -pthread when it should not on OSX when compiling with clang |
Date: | Sat, 21 Sep 2013 04:42:09 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36 |
Follow-up Comment #1, patch #8186 (project autoconf-archive): Surely a better test for whether the compiler is clang is needed, for example in MacPorts clang is installed as clang-mp-3.3 etc... and with this check this compiler will not be identified as clang. In one of my projects I use the following to see if clang is being used: # check for clang AS_IF([test "x$GCC" = xyes], [AS_IF([test "`$CC -v 2>&1 | grep -c 'clang'`" != "0"],[CLANG_CC=1])], [CLANG_CC=]) AC_SUBST(CLANG_CC) So could something like that be used here? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?8186> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |