Date: Fri, 12 Jul 2019 05:55:41 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Mark Linimon <linimon@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: 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... Message-ID: <tvbr-hpoi-wny@FreeBSD.org> In-Reply-To: <201907120225.x6C2P7b4029273@repo.freebsd.org> (Mark Linimon's message of "Fri, 12 Jul 2019 02:25:07 %2B0000 (UTC)") References: <201907120225.x6C2P7b4029273@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Linimon <linimon@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? $ echo 'int main() {}' >a.cc $ gcc42 -stdlib=libstdc++ a.cc cc1plus: error: unrecognized command line option "-stdlib=libstdc++" $ gcc9 -stdlib=libstdc++ a.cc gcc9: error: unrecognized command line option '-stdlib=libstdc++'; did you mean '-static-libstdc++'?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?tvbr-hpoi-wny>