#!/bin/sh

. config/options $1

# ensure we use size optimization.
  CFLAGS=`echo $CFLAGS | sed -e "s|-O2|-Os|"`
  CFLAGS=`echo $CFLAGS | sed -e "s|-O3|-Os|"`

LDFLAGS="$LDFLAGS -fwhole-program"

cd $PKG_BUILD

make
