mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
x11-misc/i3blocks-contrib: fix direct gcc call
Closes: https://bugs.gentoo.org/794919 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
@@ -10,6 +10,16 @@
|
||||
$(P): $(OBJECTS)
|
||||
--- a/brightness/Makefile
|
||||
+++ b/brightness/Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
-CC=gcc
|
||||
-AS=as
|
||||
-LD=ld
|
||||
+CC ?= gcc
|
||||
+AS ?= as
|
||||
+LD ?= ld
|
||||
OBJDUMP=objdump
|
||||
OBJCOPY=objcopy
|
||||
SIZE=size
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
PRG = brightness
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit optfeature
|
||||
inherit optfeature toolchain-funcs
|
||||
|
||||
DESCRIPTION="A set of scripts for i3blocks, contributed by the community"
|
||||
HOMEPAGE="https://github.com/vivien/i3blocks-contrib"
|
||||
@@ -24,6 +24,11 @@ src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC LD
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user