pkgsrc/devel/lld/Makefile
kamil 49698c1245 lld: Disable gnustack on NetBSD
Fix corrupted text in description of cherry-picked patch for gnustack.
2019-11-03 12:40:40 +00:00

34 lines
788 B
Makefile

# $NetBSD: Makefile,v 1.12 2019/11/03 12:40:40 kamil Exp $
DISTNAME= lld-9.0.0.src
PKGNAME= ${DISTNAME:S/.src//}
PKGREVISION= 4
CATEGORIES= devel
MASTER_SITES= http://releases.llvm.org/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lld.llvm.org/
COMMENT= The LLVM Linker
LICENSE= apache-2.0
USE_LANGUAGES= c c++11
USE_CMAKE= yes
GCC_REQD+= 4.8
CONFIGURE_DIRS= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKSRC}
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DCMAKE_C_COMPILER=${CC:Q}
CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=${CXX:Q}
PYTHON_FOR_BUILD_ONLY= yes
post-extract:
${MKDIR} ${WRKDIR}/build
.include "options.mk"
.include "../../lang/python/tool.mk"
.include "../../lang/llvm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"