aboutsummaryrefslogtreecommitdiff
path: root/core/b3sum/build
blob: cc2b98a46723aaaf8cb9fd3c0cbedd609f47b9d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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