Преглед изворни кода

Build amd64/arm64 Debian packages with CGO disabled

That should ensure that the binary is compiled statically
Frédéric Guillot пре 2 година
родитељ
комит
feb962f98a
1 измењених фајлова са 1 додато и 1 уклоњено
  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 && \