]> git.armaanb.net Git - asd-repo.git/blobdiff - extra/gnupg1/build
gnupg1: switch to from gnupg2
[asd-repo.git] / extra / gnupg1 / build
diff --git a/extra/gnupg1/build b/extra/gnupg1/build
new file mode 100755 (executable)
index 0000000..78f741b
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+# Fix build fail with GCC 10.
+export CFLAGS="$CFLAGS -fcommon"
+
+./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --enable-noexecstack \
+    --disable-nls
+
+make
+make DESTDIR="$1" install