summaryrefslogtreecommitdiffstats
path: root/source/a/util-linux/bsdstrings.gcc14.diff
blob: 32cffe03f560886a62938543b67368707cef1e73 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- ./Makefile.orig	2000-05-09 16:18:53.000000000 -0500
+++ ./Makefile	2024-05-12 12:42:00.509961363 -0500
@@ -1,7 +1,8 @@
 CC = gcc
+CFLAGS = -O -Wno-error=implicit-function-declaration -Wno-error=implicit-int
 
 strings: strings.o getopt.o
-	gcc -O -o strings strings.c getopt.c
+	gcc $(CFLAGS) -o strings strings.c getopt.c
 
 clean:
 	rm -f a.out core *~ *.o strings