diff --git a/devel/cld2/Makefile b/devel/cld2/Makefile index e92615dde8c1..e8b35014d229 100644 --- a/devel/cld2/Makefile +++ b/devel/cld2/Makefile @@ -12,8 +12,12 @@ COMMENT= Compact language detector library LICENSE= APACHE20 +USES= compiler USE_LDCONFIG= yes +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing + post-patch: ${REINPLACE_CMD} -e "s#g++#${CXX}#" ${WRKSRC}/internal/compile_libs.sh