Skip to content
Snippets Groups Projects
Commit 6d78f3c0 authored by Ken Zhu's avatar Ken Zhu
Browse files

lacpd: disable type cast from integer to point warning


Disable the warning of the type cast between integer and pointer.

Change-Id: Ide69a9786c868de01d059850726cfb2c0a94d924
Signed-off-by: default avatarKen Zhu <guigenz@codeaurora.org>
......@@ -22,6 +22,8 @@ LOCAL_VARIANT=$(patsubst lacpd-%,%,$(patsubst lacpd-%,%,$(BUILD_VARIANT)))
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
PKG_BUILD_DEPENDS += qca-ssdk
define Package/lacpd
SECTION:=net
CATEGORY:=Network
......@@ -32,7 +34,7 @@ endef
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include/qca-ssdk \
-I$(STAGING_DIR)/usr/include
-I$(STAGING_DIR)/usr/include -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast
CMAKE_OPTIONS += \
-DDEBUG=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment