view images/lfs-bootstrap/mnt/build/bison.sh @ 40:ef471ef37665 draft default tip

Yank reliance on ash.
author Rob Landley <rob@landley.net>
date Sat, 18 Jul 2015 01:39:24 -0500
parents 6f975a65fe1d
children
line wrap: on
line source

#!/bin/sh

sed -i 's/#ifndef __GLIBC__/#if !defined __GLIBC__ || defined __UCLIBC__/' \
  lib/spawn.in.h || exit 1

./configure --prefix=/usr &&
echo '#define YYENABLE_NLS 1' >> lib/config.h &&
make -j $CPUS || exit 1

if [ ! -z "$CHECK" ]
then
  make check || exit 1
fi

make install