diff options
Diffstat (limited to 'community/parted/build')
-rwxr-xr-x | community/parted/build | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/community/parted/build b/community/parted/build new file mode 100755 index 00000000..754547ca --- /dev/null +++ b/community/parted/build @@ -0,0 +1,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 |