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

export LDFLAGS="$LDFLAGS -static"

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

make
make DESTDIR="$1" install

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