app-misc/uwufetch: Respect LDFLAGS, CFLAGS, CC, and generate soname

Closes: https://bugs.gentoo.org/884441
Closes: https://bugs.gentoo.org/884431
Closes: https://bugs.gentoo.org/884439
Closes: https://bugs.gentoo.org/884437
Signed-off-by: Cara Salter <cara@devcara.com>
This commit is contained in:
Cara Salter
2022-12-05 09:31:18 -05:00
parent 71212e8aed
commit b958e50641
5 changed files with 60 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
--- Makefile 2022-12-01 16:12:15.695821291 -0500
+++ Makefile 2022-12-05 08:00:42.879825137 -0500
@@ -4,7 +4,7 @@
UWUFETCH_VERSION = $(shell git describe --tags)
CFLAGS = -O3 -DUWUFETCH_VERSION=\"$(UWUFETCH_VERSION)\"
CFLAGS_DEBUG = -Wall -Wextra -g -pthread -DUWUFETCH_VERSION=\"$(UWUFETCH_VERSION)\"
-CC = cc
+CC ?= cc
AR = ar
DESTDIR = /usr
RELEASE_SCRIPTS = release_scripts/*.sh