Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Commit 074c836

Browse files
committed
build: Pass correct --host flag
1 parent cb72398 commit 074c836

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/services/dhcpd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package services
22

3-
//go:generate bash -c "mkdir -p ../api/proto/v1 && protoc --go_out=paths=source_relative,plugins=grpc:../api/proto/v1 -I=../../api/proto/v1 ../../api/proto/v1/*.proto"
3+
//go:generate sh -c "mkdir -p ../api/proto/v1 && protoc --go_out=paths=source_relative,plugins=grpc:../api/proto/v1 -I=../../api/proto/v1 ../../api/proto/v1/*.proto"
44

55
import (
66
"context"

pkg/workers/dhcpd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package workers
22

3-
//go:generate bash -c "rm -rf dhcp && git clone --depth 1 https://gitlab.isc.org/isc-projects/dhcp.git && cd dhcp && ./configure && make"
3+
//go:generate sh -c "rm -rf dhcp && git clone --depth 1 https://gitlab.isc.org/isc-projects/dhcp.git && cd dhcp && ./configure $([ -n \"${CC}\" ] && echo --host=\"${CC}\") && make"
44

55
import (
66
_ "embed"

0 commit comments

Comments
 (0)