BUILD: Makefile: disable -Wunused-label
It's becoming extremely tricky not to make gcc warn about unused labels with support for openssl 1.1 and 1.1.1, because some error paths only exist for certain versions. Latest patch causes a warning for me on 1.0.2. There is no real point it warning about an unused error label so let's disable this warning.
This commit is contained in:
parent
c2aae74f01
commit
eff9a9ef95
1
Makefile
1
Makefile
@ -149,6 +149,7 @@ SPEC_CFLAGS += $(call cc-opt,-fwrapv)
|
||||
SPEC_CFLAGS += $(call cc-nowarn,format-truncation)
|
||||
SPEC_CFLAGS += $(call cc-nowarn,address-of-packed-member)
|
||||
SPEC_CFLAGS += $(call cc-nowarn,null-dereference)
|
||||
SPEC_CFLAGS += $(call cc-nowarn,unused-label)
|
||||
|
||||
#### Memory usage tuning
|
||||
# If small memory footprint is required, you can reduce the buffer size. There
|
||||
|
Loading…
Reference in New Issue
Block a user