Skip to content
Permalink
Browse files

libnl-tiny: fix gcc 8x

  • Loading branch information
zyxmon committed Jan 9, 2020
1 parent cbe059d commit 2958bf4ad9667870b9dd9bc5ec7f2327f405bf93
Showing with 5 additions and 0 deletions.
  1. +5 −0 package/libs/libnl-tiny/Makefile
@@ -33,6 +33,11 @@ define Package/libnl-tiny/description
This package contains a stripped down version of libnl
endef

ifeq ($(or $(CONFIG_GCC_USE_VERSION_8),$(CONFIG_GCC_USE_VERSION_9)),y)
TARGET_CFLAGS += -Wno-error=sign-compare
endif


define Build/InstallDev
$(INSTALL_DIR) $(1)/opt/lib/pkgconfig $(1)/opt/include/libnl-tiny
$(CP) $(PKG_INSTALL_DIR)/opt/include/libnl-tiny/* $(1)/opt/include/libnl-tiny

0 comments on commit 2958bf4

Please sign in to comment.
You can’t perform that action at this time.