File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ testconvention:
29
29
build :
30
30
mkdir -p build
31
31
for i in $( filter-out check-windows-%, $( wildcard check-* ) ) ; do \
32
- go build -ldflags " -s -w" -o build/$$ i \
32
+ CGO_ENABLED=0 go build -ldflags " -s -w" -o build/$$ i \
33
33
` pwd | sed -e " s|${GOPATH_ROOT} /src/||" ` /$$ i; \
34
34
done
35
35
Original file line number Diff line number Diff line change 6
6
# This variable must be the same as the value of the `Package:` field in the control file.
7
7
package =mackerel-check-plugins
8
8
9
+ override_dh_builddeb :
10
+ dh_builddeb -- -Zxz
11
+
9
12
override_dh_auto_install :
10
13
dh_auto_install
11
14
install -d -m 755 debian/${package} /usr/bin
Original file line number Diff line number Diff line change 5
5
6
6
package =mackerel-check-plugins
7
7
8
+ override_dh_builddeb :
9
+ dh_builddeb -- -Zxz
10
+
8
11
override_dh_auto_install :
9
12
dh_auto_install
10
13
install -d -m 755 debian/${package} /usr/bin
You can’t perform that action at this time.
0 commit comments