Mercurial > hg > aboriginal
view sources/patches/toybox-uClibc.patch @ 1649:946d9e8f1752 1.2.7
Only rebuild record-commands if host-tools built stuff, otherwise parallel builds fight.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 20 Apr 2014 22:01:07 -0500 |
parents | c0a10cc8e4e7 |
children |
line wrap: on
line source
Ugly workaround until I can switch to musl. diff -r 9e105bab92e5 scripts/genconfig.sh --- a/scripts/genconfig.sh Wed Apr 16 08:54:19 2014 -0500 +++ b/scripts/genconfig.sh Wed Apr 16 14:53:56 2014 -0500 @@ -34,6 +34,11 @@ #error nope #endif EOF + + # Hard to come by in uClibc. + probesymbol TOYBOX_ICONV -c << EOF + #include "iconv.h" +EOF } genconfig() diff -r 9e105bab92e5 toys/pending/iconv.c --- a/toys/pending/iconv.c Wed Apr 16 08:54:19 2014 -0500 +++ b/toys/pending/iconv.c Wed Apr 16 14:53:56 2014 -0500 @@ -9,6 +9,7 @@ config ICONV bool "iconv" default y + depends on TOYBOX_ICONV help usage: iconv [-f FROM] [-t TO] [FILE...]