Files
guru/dev-libs/supercop/supercop-0_p20200827.ebuild
Theo Anderson a59ec50a3a dev-libs/supercop: build with PIC
Closes: https://bugs.gentoo.org/785376
Signed-off-by: Theo Anderson <telans@posteo.de>
2021-04-28 11:17:09 +12:00

27 lines
621 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake flag-o-matic
MY_REV="633500ad8c8759995049ccd022107d1fa8a1bbc9"
DESCRIPTION="Fast cryyptographic operations for Monero wallets"
HOMEPAGE="https://github.com/monero-project/supercop"
SRC_URI="https://github.com/monero-project/supercop/archive/${MY_REV}.tar.gz -> ${PN}-${MY_REV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
DEPEND="dev-lang/nasm"
S="${WORKDIR}"/${PN}-${MY_REV}
src_configure() {
append-flags -fPIC
append-ldflags -Wl,-z,noexecstack
cmake_src_configure
}