libssh: fix gcc7 build

This commit is contained in:
Tony Theodore 2018-08-13 23:33:15 +10:00
parent 6a90401ea1
commit 3b8cd1213e
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ define $(PKG)_BUILD
# compile test
'$(TARGET)-gcc' \
-W -Wall -Werror -pedantic \
-W -Wall -Werror -pedantic -Wno-error=implicit-fallthrough \
$(SOURCE_DIR)/examples/{authentication.c,knownhosts.c,connect_ssh.c,exec.c} \
-o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
`'$(TARGET)-pkg-config' $(PKG) --cflags --libs`