summaryrefslogtreecommitdiff
path: root/sysutils/superiotool/files/patch-Makefile
blob: a7cca296f4ed51fc8f30aef04702661155316661 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile.orig	2022-10-16 23:14:31.000000000 +0300
+++ Makefile	2025-07-02 10:37:44.757402000 +0300
@@ -8,7 +8,7 @@
 
 # Set the superiotool version string to the output of 'git describe'.
 
-VERSION := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"'
+#VERSION := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"'
 
 CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \
          -Werror-implicit-function-declaration -ansi -pedantic $(VERSION)
@@ -23,7 +23,7 @@
 endif
 ifeq ($(OS_ARCH), FreeBSD)
 CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
-         -Werror-implicit-function-declaration -ansi $(VERSION) \
+         -Werror-implicit-function-declaration -Wno-comment -ansi $(VERSION) \
          -I/usr/local/include
 LDFLAGS += -L/usr/local/lib
 LIBS = -lz