audio/caps-lv2: fix build with GCC-based architectures
GCC architectures don't have libc++. Add -stdlib=libstdc++ on them to CXXFLAGS and LDFLAGS to fix build. PR: 234943 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
parent
c4bfb0503c
commit
87eacd6b11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490351
@ -26,6 +26,11 @@ CPP= clang-cpp${LLVM_VER}
|
||||
CC= clang${LLVM_VER}
|
||||
CXX= clang++${LLVM_VER}
|
||||
|
||||
.if exists(/usr/lib/libstdc++.so)
|
||||
CXXFLAGS+= -stdlib=libstdc++
|
||||
LDFLAGS+= -stdlib=libstdc++
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|__APPLE__|__FreeBSD__|" \
|
||||
${WRKSRC}/dsp/v4f_IIR2.h
|
||||
|
Loading…
Reference in New Issue
Block a user