verify: fix build error with gcc 10

Fixes #4099
This commit is contained in:
Christian Prochaska
2021-04-24 20:38:45 +02:00
committed by Norman Feske
parent 8196e229b0
commit e627f8320f

View File

@@ -23,6 +23,9 @@ CC_OPT += -DGPGRT_ENABLE_ES_MACROS \
-DVERSION='"$(< $(GNUPG_SRC_DIR)/../VERSION)"' \
-DGPG_USE_RSA
# Prevent link error with GCC 10, which defaults to -fno-common
CC_OPT += -fcommon
CC_OPT_armor += -Wno-pointer-sign
CC_OPT_iobuf += -Wno-pointer-sign
CC_OPT_stringhelp += -Wno-pointer-sign