flex: fix build error due to undefined library symbols
[openwrt.git] / package / boot / grub2 / patches / 200-grub_musl.patch
1 diff -urN grub-2.00/build-aux/config.sub grub-2.00.new/build-aux/config.sub
2 --- grub-2.00/build-aux/config.sub      2012-06-18 23:08:46.000000000 +0200
3 +++ grub-2.00.new/build-aux/config.sub  2012-11-22 14:12:12.190748353 +0100
4 @@ -126,7 +126,8 @@
5    linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
6    knetbsd*-gnu* | netbsd*-gnu* | \
7    kopensolaris*-gnu* | \
8 -  storm-chaos* | os2-emx* | rtmk-nova*)
9 +  storm-chaos* | os2-emx* | rtmk-nova* | \
10 +  linux-musl*)
11      os=-$maybe_os
12      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
13      ;;
14 @@ -1360,7 +1361,7 @@
15               | -chorusos* | -chorusrdb* | -cegcc* \
16               | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
17               | -mingw32* | -linux-gnu* | -linux-android* \
18 -             | -linux-newlib* | -linux-uclibc* \
19 +             | -linux-newlib* | -linux-uclibc* | -linux-musl* \
20               | -uxpv* | -beos* | -mpeix* | -udk* \
21               | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
22               | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \