aboutsummaryrefslogtreecommitdiff
path: root/core/byacc/build
blob: 8ed780431b6d6e7e7600ec5d1929496fcd1ca584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr \
    --enable-btyacc \
    --program-transform='s/^/b/'

make
make DESTDIR="$1" install

ln -s byacc "$1/usr/bin/yacc"