PKGBUILDs/community/hardinfo/hardinfo-gnu89.patch
2018-06-09 00:30:45 +00:00

12 lines
301 B
Diff

diff --git a/Makefile.in b/Makefile.in
index 03a9df8..2c69fe9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,6 +1,6 @@
CCFLAGS = -fPIC -pipe -Wall -g
-CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I.
+CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I. -std=gnu89
CC = gcc $(ARCHOPTS) -g
CCSLOW = gcc -O0 -g