Files
gentoo/sys-apps/moreutils/files/moreutils-0.64-respect-env.patch
Sam James 4dff1d851b sys-apps/moreutils: respect CC
Closes: https://bugs.gentoo.org/740340
Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Sam James <sam@gentoo.org>
2020-09-04 15:11:12 +00:00

14 lines
344 B
Diff

diff --git a/is_utf8/Makefile b/is_utf8/Makefile
index 13b1021..f0a111e 100644
--- a/is_utf8/Makefile
+++ b/is_utf8/Makefile
@@ -37,7 +37,7 @@ LINKERNAME = lib$(NAME).so
SONAME = $(LINKERNAME).$(VERSION)
REALNAME = $(SONAME).$(MINOR).$(RELEASE)
-CC = gcc
+CC ?= gcc
CFLAGS ?= -O3 -Wextra -Wall -ansi -Wstrict-prototypes
$(NAME): $(OBJ)