We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f02579 commit 6daadb0Copy full SHA for 6daadb0
1 file changed
lib/Makefile
@@ -103,6 +103,16 @@ endif
103
HOST_CFLAGS+= -DINET
104
CFLAGS+= -DINET
105
106
+GCCVERGE10 = $(shell expr `gcc -dumpversion | cut -f1 -d.` \>= 10)
107
+ifeq "$(GCCVERGE10)" "1"
108
+ CFLAGS+= -Wno-error=stringop-overflow
109
+endif
110
+
111
+GCCVERGE11 = $(shell expr `gcc -dumpversion | cut -f1 -d.` \>= 11)
112
+ifeq "$(GCCVERGE11)" "1"
113
+ CFLAGS+= -Wno-error=stringop-overread
114
115
116
ifdef FF_INET6
117
HOST_CFLAGS+= -DINET6
118
CFLAGS+= -DINET6
0 commit comments