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

export LDFLAGS="$LDFLAGS -static"

cpt-configure \
    --program-transform='s/^/b/'

make
make DESTDIR="$1" install

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