[unixODBC-dev] [PATCH] Fix SunCC _mcount problem
mturk at redhat.com
Fri Feb 25 14:48:27 GMT 2011
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the unixODBC-dev