mdk4: fix build against gcc 10
This commit is contained in:
parent
165b836a78
commit
b5e84fbfa4
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF32FIrAKgrGGTHmhFyKx0Ka1sVrjm8TGHyBKIB7quVYvKFPfx/+C5Gyuzj5p4T2IwqNs7bYp7hwAs8URxcjGYaQ0=
|
||||
SHA256 (Pkgfile) = 0a3c473130cb9e2ec56040461787017ac1a2201332331258d1379b47f3b87baa
|
||||
RWSagIOpLGJF311bmW6TB5QnQx7EhiGVfSE2C/ERU1oTjQIdpnrrtOmu9VAMHTzrqjsMGujJZ8Bt1OW8VkIUj5ocwA5843mARwI=
|
||||
SHA256 (Pkgfile) = 0829ecc3cb0cbdd29698f2fdebcd60783a114db816cca7405b852a8993a3980f
|
||||
SHA256 (.footprint) = 6d1f5fcca5b121e981420ecfdc57a14bad8f39b42506fb1f711c74b70101bc1c
|
||||
SHA256 (mdk4-4.1.tar.gz) = 38e9a28dbb4bfeaa1e6fef7117a324305472990f0d47582c103699fa505e1ecf
|
||||
|
@ -14,7 +14,7 @@ build() {
|
||||
# remove default debug/optimization flags
|
||||
sed -i 's/-g -O3//' src/Makefile src/attacks/Makefile
|
||||
|
||||
EXTRAFLAGS="-I.. -I/usr/include/libnl3 -DCONFIG_LIBNL30 -DCONFIG_LIBNL"
|
||||
EXTRAFLAGS="-fcommon -I.. -I/usr/include/libnl3 -DCONFIG_LIBNL30 -DCONFIG_LIBNL"
|
||||
|
||||
make CFLAGS="$CFLAGS $EXTRAFLAGS" -j1 # fix parallel build
|
||||
make -C src install PREFIX=$PKG/usr
|
||||
|
Loading…
x
Reference in New Issue
Block a user