Damjan Marion | 289c7f5 | 2021-04-02 23:04:05 +0200 | [diff] [blame] | 1 | #/bin/env bash |
| 2 | |
| 3 | src=$(realpath $(dirname $0)/../..)/src |
Damjan Marion | 289c7f5 | 2021-04-02 23:04:05 +0200 | [diff] [blame] | 4 | |
| 5 | ${CC:-cc} \ |
Andrew Yourtchenko | 31f1924 | 2021-11-15 00:40:18 +0100 | [diff] [blame] | 6 | -Wall \ |
| 7 | -Werror \ |
Damjan Marion | 289c7f5 | 2021-04-02 23:04:05 +0200 | [diff] [blame] | 8 | -O2 \ |
| 9 | -flto \ |
| 10 | -static \ |
| 11 | -I ${src} \ |
Andrew Yourtchenko | 31f1924 | 2021-11-15 00:40:18 +0100 | [diff] [blame] | 12 | -g \ |
Damjan Marion | 289c7f5 | 2021-04-02 23:04:05 +0200 | [diff] [blame] | 13 | ${src}/vpp/app/vppctl.c \ |
| 14 | -o vppctl |
Andrew Yourtchenko | 31f1924 | 2021-11-15 00:40:18 +0100 | [diff] [blame] | 15 | |