aboutsummaryrefslogtreecommitdiffstats
path: root/extras/scripts/build_static_vppctl.sh
blob: dd8a6014d88e4625b895ad96898e159fbc2dfc6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#/bin/env bash

src=$(realpath $(dirname $0)/../..)/src

${CC:-cc} \
 -Wall \
 -Werror \
 -O2 \
 -flto \
 -static \
 -I ${src} \
 -g \
 ${src}/vpp/app/vppctl.c \
 -o vppctl