Add -nostdlib to avoid linking to any stl lib
This commit is contained in:
parent
00c21653b5
commit
54ba93084c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341791
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue