view images/lfs-bootstrap/mnt/build/bison.sh @ 24:6f975a65fe1d

Fixes for uClibc 0.9.33.1.
author Rob Landley <rob@landley.net>
date Thu, 19 Apr 2012 00:10:54 -0500
parents bcd2e358d57f
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