summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-15 01:57:57 +0000
committerSam James <sam@gentoo.org>2021-12-15 01:58:06 +0000
commit289178449f1cc655aeb67077aaecab731f31928f (patch)
tree29dd8928f634b4d748c4b43b2b38c1068ab660fc /sys-devel/mold
parentsys-devel/mold: drop upstreamed patches (diff)
downloadgentoo-289178449f1cc655aeb67077aaecab731f31928f.tar.gz
gentoo-289178449f1cc655aeb67077aaecab731f31928f.tar.bz2
gentoo-289178449f1cc655aeb67077aaecab731f31928f.zip
sys-devel/mold: simplify 9999
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/mold')
-rw-r--r--sys-devel/mold/mold-9999.ebuild15
1 files changed, 2 insertions, 13 deletions
diff --git a/sys-devel/mold/mold-9999.ebuild b/sys-devel/mold/mold-9999.ebuild
index 77000266ebfe..4ba32b129af9 100644
--- a/sys-devel/mold/mold-9999.ebuild
+++ b/sys-devel/mold/mold-9999.ebuild
@@ -36,11 +36,7 @@ src_compile() {
emake \
SYSTEM_TBB=1 \
SYSTEM_MIMALLOC=1 \
- EXTRA_CFLAGS="${CFLAGS}" \
- EXTRA_CXXFLAGS="${CXXFLAGS}" \
- EXTRA_CPPFLAGS="${CPPFLAGS}" \
- EXTRA_LDFLAGS="${LDFLAGS}" \
- STRIP="true"
+ STRIP="true" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
}
@@ -48,10 +44,6 @@ src_test() {
emake \
SYSTEM_TBB=1 \
SYSTEM_MIMALLOC=1 \
- EXTRA_CFLAGS="${CFLAGS}" \
- EXTRA_CXXFLAGS="${CXXFLAGS}" \
- EXTRA_CPPFLAGS="${CPPFLAGS}" \
- EXTRA_LDFLAGS="${LDFLAGS}" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
STRIP="true"
check
@@ -61,11 +53,8 @@ src_install() {
emake \
SYSTEM_TBB=1 \
SYSTEM_MIMALLOC=1 \
- EXTRA_CFLAGS="${CFLAGS}" \
- EXTRA_CXXFLAGS="${CXXFLAGS}" \
- EXTRA_CPPFLAGS="${CPPFLAGS}" \
- EXTRA_LDFLAGS="${LDFLAGS}" \
DESTDIR="${ED}" \
+ PREFIX="${EPREFIX}/usr" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
STRIP="true" \
install