On Feb 4, 2013, at 10:24 PM, Igor Galić <i.ga...@brainsware.org> wrote:

> On Sunday, February 03, 2013 02:20:10 PM James Peach wrote:
>> Hi all,
>> 
>> If you are trying to build ATS on Mac OS X using clang, then you are likely
>> to get the following error:
>> 
>>      clang: error: argument unused during compilation: '-pthread'
> 
> 
> On Solaris *our* buildsystem (not libtool, or pcre, or autoconf, our own 
> configure.ac) always adds -mt to the the compiler options if it's unable to 
> determine that the compiler is EXACTLY "gcc".

I guess that we can remove this along with the SunPro support?

> 
>> After spending an thoroughly enjoyable afternoon grovelling around libtool
>> internals, it turns out that this is caused by a build error that libtool
>> propagates from libpcre. If you are on a recent Mac Ports, then you will
>> find that the inherited_linker_flags line of /opt/local/lib/libpcre.la sets
>> the -pthread option. Comment out this line to make the build work.
>> 
>> I filed https://trac.macports.org/ticket/37916
>> 
>> J
> 
> -- i

Reply via email to