Add -nostdlib to avoid linking to any stl lib

This commit is contained in:
Baptiste Daroussin 2014-01-29 23:00:49 +00:00
parent 00c21653b5
commit 54ba93084c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341791

View file

@ -2,6 +2,7 @@
PORTNAME= libcxxrt
PORTVERSION= 20131225
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= bapt@FreeBSD.org
@ -15,6 +16,7 @@ GH_COMMIT= 2f150a6
GH_TAGNAME= ${GH_COMMIT}
USES= cmake
CXXFLAGS+= -nostdlib
do-install:
${INSTALL_LIB} ${WRKSRC}/lib/libcxxrt.so ${STAGEDIR}${PREFIX}/lib