wok-current rev 25589

Fix gpxe build, use gcc49
author Stanislas Leduc <shann@slitaz.org>
date Wed Jul 26 08:57:30 2023 +0000 (16 months ago)
parents 22166ae1fc15
children ac34e9209f8e
files gpxe/receipt
line diff
     1.1 --- a/gpxe/receipt	Wed May 31 06:03:33 2023 +0000
     1.2 +++ b/gpxe/receipt	Wed Jul 26 08:57:30 2023 +0000
     1.3 @@ -11,7 +11,7 @@
     1.4  WEB_SITE="http://etherboot.org/wiki/"
     1.5  WGET_URL="https://git.ipxe.org/release/$SOURCE/$TARBALL"
     1.6  
     1.7 -BUILD_DEPENDS="perl linld"
     1.8 +BUILD_DEPENDS="perl linld gcc49"
     1.9  
    1.10  # What is the latest version available today?
    1.11  current_version()
    1.12 @@ -33,7 +33,7 @@
    1.13  	done
    1.14  	sed -i 's/ = ++ns->cur_rx %/++; ns->cur_rx %=/' drivers/net/ns83820.c
    1.15  	sed -i 's/ = (++tp->cur_rx) %/++; tp->cur_rx %=/' drivers/net/tulip.c
    1.16 -	make EXTRA_CFLAGS="-fno-strict-aliasing -Wno-error=unused-but-set-variable -Wno-error=array-bounds" \
    1.17 +	make CC=gcc-49 EXTRA_CFLAGS="-fno-strict-aliasing -Wno-error=unused-but-set-variable -Wno-error=array-bounds" \
    1.18  	bin/gpxe.lkrn bin/undionly.kpxe  2>&1 | grep -v housekeeping: | grep -v blib.list
    1.19  }
    1.20