aboutsummaryrefslogtreecommitdiff
path: root/core/b3sum/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/b3sum/build')
-rwxr-xr-xcore/b3sum/build15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/b3sum/build b/core/b3sum/build
new file mode 100755
index 00000000..cc2b98a4
--- /dev/null
+++ b/core/b3sum/build
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+asm=1
+case $3 in i*86) asm=0; esac
+
+mk() {
+ make \
+ PREFIX=/usr \
+ LDFLAGS="$LDFLAGS -static" \
+ WITH_ASM="$asm" \
+ "$@"
+}
+
+mk
+mk DESTDIR="$1" install