aircrack-ng: add fcommon 16405/head
authorRosen Penev <rosenp@gmail.com>
Thu, 19 Aug 2021 19:33:19 +0000 (12:33 -0700)
committerRosen Penev <rosenp@gmail.com>
Thu, 19 Aug 2021 20:46:59 +0000 (13:46 -0700)
Fixes compilation with GCC10+.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/aircrack-ng/Makefile

index c27b420386011d99aa4f233a75d51cfd1badec92..3333aedd4542fcfbabc626ffb90f521b1a2cb242 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=aircrack-ng
 PKG_VERSION:=1.6
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_LICENSE:=GPL-2.0-or-later
 PKG_LICENSE_FILES:=LICENSE
 PKG_CPE_ID:=cpe:/a:aircrack-ng:aircrack-ng
@@ -90,7 +90,7 @@ CONFIGURE_ARGS += \
        $(if $(CONFIG_AIRCRACK_NG_HWLOC),--enable-hwloc,--disable-hwloc) \
        $(if $(CONFIG_AIRCRACK_NG_SQLITE3),--with-sqlite3=$(STAGING_DIR)/usr,--without-sqlite3)
 
-TARGET_CFLAGS += -Wall -Wextra -ffunction-sections -fdata-sections
+TARGET_CFLAGS += -Wall -Wextra -ffunction-sections -fdata-sections -fcommon
 
 ifeq ($(CONFIG_AIRCRACK_NG_OPTIMIZE_SPEED),y)
        TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS)) -O3