Re: [PATCH] Fix SunCC _mcount problem
Nick Gorham <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <[email protected]> |
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. Thanks. -- Nick _______________________________________________ unixODBC-dev mailing list [email protected] http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev