summaryrefslogtreecommitdiff
path: root/packages/hostap/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/hostap/build.sh')
-rwxr-xr-xpackages/hostap/build.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/hostap/build.sh b/packages/hostap/build.sh
index 4e140d80..98b77d38 100755
--- a/packages/hostap/build.sh
+++ b/packages/hostap/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
CWD=$(pwd)
set -e
@@ -27,4 +27,5 @@ version="$(git describe --tags | tr _ .)"
dch -v ${version:7} "New version to support AES-GCM-256 for MACsec" -b
echo "I: Build Debian hostap Package"
-dpkg-buildpackage -us -uc -tc -b -Ppkg.wpa.nogui
+DEB_CPPFLAGS_SET="-Wno-use-after-free -Wno-deprecated-declarations" \
+ dpkg-buildpackage -us -uc -tc -b -Ppkg.wpa.nogui,noudeb