[unixODBC-dev] [PATCH] Fix SunCC _mcount problem

Nick Gorham nick at lurcher.org
Fri Feb 25 15:09:49 GMT 2011

On 25/02/11 14:48, Mladen Turk wrote:
> Hi,
> SunCC uses -pt flag to turn on profiling mode
> at compile and link time.
> Now if -pthread is supplied it will got mistakenly interpreted
> with -pt and you'll got an ld: extra '-h' warning
> Fix is simple, caused by a typo in configure.in. Test for
> if test "x$ac_cv_prog_gcc"="xyes"
> will always eval to true cause it misses spaces around '='
> so it will add -pthread instead -mt on non-gcc compilers.
> Attached a svn diff to trunk.
> It can be probably directly applied to all existing branches
> as well.
> Regards

Cool, thats added to SVN now.



More information about the unixODBC-dev mailing list