Mercurial > hg > control-images
changeset 20:e2d5699cee3a
Fix a couple problems with the util-linux build.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 06 Nov 2011 21:08:49 -0600 |
parents | b151b87ddf35 |
children | 823e6222e924 |
files | images/lfs-bootstrap/mnt/build/util-linux.sh |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/images/lfs-bootstrap/mnt/build/util-linux.sh Sun Nov 06 09:27:37 2011 -0600 +++ b/images/lfs-bootstrap/mnt/build/util-linux.sh Sun Nov 06 21:08:49 2011 -0600 @@ -2,6 +2,10 @@ sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ -i $(grep -rl '/etc/adjtime' .) && +# uClibc hasn't got argp.h, and it's the wrong header to include anyway. +sed -e 's/<argp[.]h>/<errno.h>/' -i configure && +# They never tested --disable-nls and use gettext() directly without masking it. +sed -e '/define _(/{n;/define N_(/a \# define gettext(Text) (Text)' -e '}' -i include/nls.h && mkdir -p /var/lib/hwclock && ./configure --enable-arch --enable-partx --enable-write --disable-nls && make -j $CPUS &&