Merge pull request #1464 from jow-/c-ares-fortify-source-fix
c-ares: fix build with CONFIG_PKG_FORTIFY_SOURCE*
This commit is contained in:
commit
e86ca8c6e1
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ PKG_INSTALL:=1
|
|||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
TARGET_CPPFLAGS += $(filter -D%,$(TARGET_CFLAGS))
|
||||
TARGET_CFLAGS := $(filter-out -D%,$(TARGET_CFLAGS))
|
||||
|
||||
define Package/libcares
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
|
|
Loading…
Reference in a new issue