Browse Source

aircrack-ng: Add -std=gnu89 to fix compile issues.

The code assumes pre-C99 inlining. This causes issues with GCC7 which assumes C11. Add std=gnu89 to restore proper behavior.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 7 years ago
committed by GitHub
parent
commit
2e99339191
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      net/aircrack-ng/Makefile

+ 3
- 1
net/aircrack-ng/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=aircrack-ng
PKG_VERSION:=1.2-rc1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=LICENSE
@ -51,6 +51,8 @@ define Package/airmon-ng/description
Bash script designed to turn wireless cards into monitor mode.
endef
TARGET_CFLAGS += -std=gnu89
MAKE_FLAGS += prefix=/usr \
libnl=true \
sqlite=false \


Loading…
Cancel
Save