1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Since v1.55, Boost is built with a modern compiler, which is known to break

linking with code built with our legacy GCC v4.2.  Switch to dynamic linking
for Boost libraries as a work-around for infamous "local symbol discarded in
section `.text...' from some_static_lib.a(some_object.o)" errors.

Reported by:	pkg-fallout
This commit is contained in:
Alexey Dokuchaev 2014-07-24 12:10:47 +00:00
parent 61a41b8a33
commit f9e45d370f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362789

View File

@ -53,6 +53,8 @@ post-patch:
${LUXRAYS_WRKSRC}/samples/smallluxgpu4/smallluxgpu.h \
${WRKSRC}/core/osfunc.h \
${WRKSRC}/shapes/mikktspace/weldmesh.c
@${REINPLACE_CMD} -e '/^set(Boost_USE_STATIC_LIBS/s,ON,OFF,' \
${LUXRAYS_WRKSRC}/cmake/Dependencies.cmake
pre-configure:
cd ${LUXRAYS_WRKSRC} && ${SETENV} ${CMAKE_ENV} ${CMAKE_BIN} \