gentoo/net-misc/socket/files/socket-1.5-makefile.patch
Sam James 11141207fd
net-misc/socket: port to EAPI 7, drop base.eclass
Signed-off-by: Sam James <sam@gentoo.org>
2021-03-30 21:45:41 +00:00

15 lines
343 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -38,9 +38,8 @@
INSTALLMANPATH = $(INSTALLBASE)/man
INSTALLMANMODE = 444
GCCOPTS = -Wall -Wstrict-prototypes
-CC = cc
-CFLAGS = $(SWITCHES) -g
-LDFLAGS = $(SWITCHES) # -s
+CC ?= cc
+CFLAGS += $(SWITCHES)
# To use an architecture-specific compile directory (inside of the
# source directory):
ARCHDIR = .