svn commit: r506432 - in head: audio/libcoverart audio/nekobi-lv2 benchmarks/netperfmeter chinese/pyzy comms/ncid databases/postgis25 games/diaspora graphics/gimmage graphics/pcl-pointclouds graphi...

Jan Beich jbeich at FreeBSD.org
Sun Jul 14 03:46:46 UTC 2019


Jan Beich <jbeich at FreeBSD.org> writes:

> Mark Linimon <linimon at lonesome.com> writes:
>
>> On Fri, Jul 12, 2019 at 05:55:41AM +0200, Jan Beich wrote:
>>
>>> Mark Linimon <linimon at FreeBSD.org> writes:
>>> 
>>> > -.if exists(/usr/lib/libstdc++.so)
>>> > +
>>> > +.include <bsd.port.pre.mk>
>>> > +
>>> > +.if ${CHOSEN_COMPILER_TYPE} == gcc
>>> >  CXXFLAGS+=	-stdlib=libstdc++
>>> >  .endif
>>> 
>>> Which version of GCC supports -stdlib= flag?
>>
>> Note that didn't change the line that specifies CXXFLAGS, just the test
>> around it.
>
> CHOSEN_COMPILER_TYPE is always "clang" due to USES=objc:compiler but
> Clang defaults to libc++ since FreeBSD 10.0. So, your commit probably
> broke libobjc2 runtime on GCC-based architectures.

Nevermind, it should still work but confusing. USES=objc:compiler
changes CC/CXX but CHOSEN_COMPILER_TYPE remains the same.

$ make -V CHOSEN_COMPILER_TYPE
gcc
$ make -V CXX
/usr/local/bin/clang++70


More information about the svn-ports-head mailing list