[kde-freebsd] kdelibs-4.4.3/kjs/CMakeLists.txt
Dima Panov
fluffy at fluffy.khv.ru
Wed Jun 2 15:14:56 CEST 2010
On Wednesday 02 June 2010 23:39:06 Andriy Gapon wrote:
> on 02/06/2010 13:01 Andriy Gapon said the following:
> > on 02/06/2010 04:26 Dima Panov said the following:
> >> I've playing with this patch for now. It should be enough for any non-default compiler.
> >>
> >> ====================
> >> --- ./kjs/CMakeLists.txt.orig 2009-05-04 13:34:01.000000000 +0200
> >> +++ ./kjs/CMakeLists.txt 2009-05-04 13:34:07.000000000 +0200
> >> @@ -220,7 +220,7 @@
> >>
> >> set_target_properties(kjs_bin PROPERTIES OUTPUT_NAME kjs)
> >>
> >> -target_link_libraries(kjs_bin ${KJSLIBNAME})
> >> +target_link_libraries(kjs_bin ${KJSLIBNAME} pthread)
> >>
> >> install(TARGETS kjs_bin ${INSTALL_TARGETS_DEFAULT_ARGS})
> >>
> >> ====================
> >>
> >> Test it in your environment
> >
> > Worked for me too (with gcc44).
> > Thanks a lot!
>
> BTW, just wondering how this works with system gcc...
> Does it somehow auto-add -pthread flag or is there something else going on behind
> the scenes?
>
>
ports/Mk/bsd.port.mk
lines 2322 and 2323
--
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
KDE at FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype: dima.panov | Jabber.org/GTalk/QIP.ru:fluffy.khv
More information about the kde-freebsd
mailing list