wok-current rev 13386
grub2: fix build with flex 2.5.37
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 23 13:39:19 2012 +0200 (2012-09-23) |
parents | 8f6acafcf637 |
children | 2a1852262142 |
files | grub2/receipt |
line diff
1.1 --- a/grub2/receipt Sun Sep 23 09:34:13 2012 +0100 1.2 +++ b/grub2/receipt Sun Sep 23 13:39:19 2012 +0200 1.3 @@ -17,6 +17,11 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + 1.8 + # Fixes for flex 2.5.37 1.9 + export CFLAGS="-Wno-error=sign-compare" 1.10 + sed -i 's/YY_FATAL_ERROR/REMOVED_&/' grub-core/script/yylex.l 1.11 + 1.12 chmod +x install-sh 1.13 ./configure --prefix=/usr --sysconfdir=/etc \ 1.14 --mandir=/usr/share/man $CONFIGURE_ARGS &&