cpu_features: pass -DBUILD_PIC=ON to cmake
This commit is contained in:
parent
8fe458fc03
commit
0a230cccbc
1 changed files with 3 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
# $NetBSD: Makefile,v 1.1 2020/12/14 15:07:49 tnn Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2020/12/14 17:15:35 tnn Exp $
|
||||
|
||||
GITHUB_TAG= v${PKGVERSION_NOREV}
|
||||
DISTNAME= cpu_features-0.6.0
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/google/cpu_features/
|
||||
COMMENT= Cross platform C99 library to get CPU features at runtime
|
||||
|
@ -12,6 +12,7 @@ LICENSE= apache-2.0
|
|||
|
||||
USE_CMAKE= yes
|
||||
USE_LANGUAGES= c c++
|
||||
CMAKE_ARGS+= -DBUILD_PIC=ON
|
||||
|
||||
PLIST_SUBST+= CPU_FEATURES_ARCH=${MACHINE_ARCH:S/i386/x86/:S/x86_64/x86/}
|
||||
|
||||
|
|
Loading…
Reference in a new issue