Browse Source

Build amd64/arm64 Debian packages with CGO disabled

That should ensure that the binary is compiled statically
Frédéric Guillot 2 năm trước cách đây
mục cha
commit
feb962f98a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packaging/debian/build.sh

+ 1 - 1
packaging/debian/build.sh

@@ -13,7 +13,7 @@ cd /src
 if [ "$PKG_ARCH" = "armhf" ]; then
     make miniflux-no-pie
 else
-    make miniflux
+    CGO_ENABLED=0 make miniflux
 fi
 
 mkdir -p /build/debian && \