aboutsummaryrefslogtreecommitdiff
path: root/extra/libgcrypt/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libgcrypt/build')
-rwxr-xr-xextra/libgcrypt/build5
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/libgcrypt/build b/extra/libgcrypt/build
index 7ce6252f..e4ad65a7 100755
--- a/extra/libgcrypt/build
+++ b/extra/libgcrypt/build
@@ -1,5 +1,8 @@
#!/bin/sh -e
+clsed '43a #include <limits.h>' random/jitterentropy-base-user.h
+clsed '44a #include <fcntl.h>' random/jitterentropy-base-user.h
+
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -7,5 +10,5 @@
--localstatedir=/var \
--enable-static
-make
+make -j1
make DESTDIR="$1" install