aboutsummaryrefslogtreecommitdiff
path: root/community/parted/build
blob: 754547ca6ac0ce10edf633ae2ed2956fd90b3966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    --disable-nls \
    --disable-rpath \
    --disable-device-mapper \
    "--with$(cpt l -C readline '' out)-readline"

# I hate it when build systems don't adhere to flags.
make CC="${CC:-cc} --static"
make DESTDIR="$1" install