tcp_wrappers: fix compilation warnings

Set `Wall` and address sources of reported warnings.

Signed-off-by: Tom Sullivan <tom@msbit.com.au>
This commit is contained in:
Tom Sullivan
2017-11-12 13:39:30 +11:00
committed by tripolar
parent f32f1a314a
commit 4bc2371a3f
2 changed files with 767 additions and 2 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tcp_wrappers
PKG_VERSION:=7.6
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.porcupine.org/pub/security
@@ -30,7 +30,7 @@ define Package/libwrap
MAINTAINER:=Peter Wagner <tripolar@gmx.at>
endef
TARGET_CFLAGS += $(FPIC)
TARGET_CFLAGS += $(FPIC) -Wall
ifeq ($(CONFIG_USE_MUSL),)
TARGET_EXTRA_LIBS:=LIBS=-lnsl