libports: fix 'solo5' compile error with GCC 8.3.0

Fixes #3344
This commit is contained in:
Christian Prochaska 2019-05-06 14:28:35 +02:00 committed by Christian Helmuth
parent a1e70b9ba4
commit 5b232df503

View File

@ -4,6 +4,11 @@ SHARED_LIB = yes
CC_OPT += -D__SOLO5_BINDINGS__ -Drestrict=__restrict__
# GCC 8 complains about a mismatch of the 'log()' function declaration.
# Since the solo5 'log()' function is unrelated to the builtin function,
# we disable the error message.
CC_OPT += -Wno-builtin-declaration-mismatch
SRC_CC = bindings.cc
SOLO5_PORT_DIR := $(call select_from_ports,solo5)