prometheus: fix cross builds

This commit is contained in:
Duncaen 2020-01-13 20:59:15 +01:00
parent ab3fc0ecf7
commit 46bdf1db61
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ system_accounts="_prometheus"
make_dirs="/var/lib/prometheus 700 _prometheus _prometheus"
pre_build() {
make assets
CGO_ENABLED=0 GOARCH= make assets
}
post_install() {