1 parent 6ba72d0 commit fec60f4Copy full SHA for fec60f4
1 file changed
Attacker/installTools.sh
@@ -368,7 +368,11 @@ fi
368
apt-get install -y pkg-config libnl-3-dev libnl-genl-3-dev libpcap-dev
369
cd "${TOOLS}"
370
[ ! -d mdk4 ] && git clone https://github.com/aircrack-ng/mdk4
371
-cd mdk4 && make -j"$(nproc)" && make install
+# -Wno-unterminated-string-initialization silences ~500 harmless warnings GCC 15
372
+# emits on mdk4's manufactor.h OUI table (no -Werror upstream, so cosmetic only).
373
+# Pass mdk4's own default CFLAGS + the suppression (src/Makefile uses ?=, so a
374
+# command-line CFLAGS overrides it and propagates to the sub-make).
375
+cd mdk4 && make -j"$(nproc)" CFLAGS="-g -O3 -Wall -Wextra -fcommon -Wno-unterminated-string-initialization" && make install
376
377
# air-hammer with python2 if available
378
0 commit comments