aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rwxr-xr-xextras/scripts/build_static_vppctl.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/scripts/build_static_vppctl.sh b/extras/scripts/build_static_vppctl.sh
index dd8a6014d88..eafd24c3748 100755
--- a/extras/scripts/build_static_vppctl.sh
+++ b/extras/scripts/build_static_vppctl.sh
@@ -1,4 +1,5 @@
#/bin/env bash
+set -eu
src=$(realpath $(dirname $0)/../..)/src
@@ -8,6 +9,7 @@ ${CC:-cc} \
-O2 \
-flto \
-static \
+ -D STATIC_VPPCTL \
-I ${src} \
-g \
${src}/vpp/app/vppctl.c \