aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-08-14 18:31:34 +0300
committerCem Keylan <cem@ckyln.com>2021-08-14 18:31:34 +0300
commit10ca7e88745e4ac447c33fc0dc1f6bfb36f5b4f2 (patch)
tree7e19589e76a27562cb698ec9c1ae224ffb2e0a3f /core
parentaa1b5c3c4ab5d3b3eb783634bad7f83d86fe8fde (diff)
downloadrepository-10ca7e88745e4ac447c33fc0dc1f6bfb36f5b4f2.tar.gz
b3sum: fix build on i686
Diffstat (limited to 'core')
-rwxr-xr-xcore/b3sum/build5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/b3sum/build b/core/b3sum/build
index fb79f372..c3c7e145 100755
--- a/core/b3sum/build
+++ b/core/b3sum/build
@@ -1,4 +1,7 @@
#!/bin/sh -e
-make LDFLAGS="$LDFLAGS -static"
+WITH_ASM=1
+case $3 in i*86) WITH_ASM=0; esac
+
+make LDFLAGS="$LDFLAGS -static" WITH_ASM="$WITH_ASM"
make PREFIX=/usr DESTDIR="$1" install