From 264e7b15726bec0bb2b9802c4fb7d1d812f7d724 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 19 Aug 2021 12:33:19 -0700 Subject: [PATCH] aircrack-ng: add fcommon Fixes compilation with GCC10+. Signed-off-by: Rosen Penev --- net/aircrack-ng/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/aircrack-ng/Makefile b/net/aircrack-ng/Makefile index c27b420386..3333aedd45 100644 --- a/net/aircrack-ng/Makefile +++ b/net/aircrack-ng/Makefile @@ -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 -- 2.30.2