# HG changeset patch # User Stanislas Leduc # Date 1690361850 0 # Node ID edb76739478c98552dda52519da3b661235d047c # Parent 22166ae1fc15989b9b5734829ef3682766af4507 Fix gpxe build, use gcc49 diff -r 22166ae1fc15 -r edb76739478c gpxe/receipt --- a/gpxe/receipt Wed May 31 06:03:33 2023 +0000 +++ b/gpxe/receipt Wed Jul 26 08:57:30 2023 +0000 @@ -11,7 +11,7 @@ WEB_SITE="http://etherboot.org/wiki/" WGET_URL="https://git.ipxe.org/release/$SOURCE/$TARBALL" -BUILD_DEPENDS="perl linld" +BUILD_DEPENDS="perl linld gcc49" # What is the latest version available today? current_version() @@ -33,7 +33,7 @@ done sed -i 's/ = ++ns->cur_rx %/++; ns->cur_rx %=/' drivers/net/ns83820.c sed -i 's/ = (++tp->cur_rx) %/++; tp->cur_rx %=/' drivers/net/tulip.c - make EXTRA_CFLAGS="-fno-strict-aliasing -Wno-error=unused-but-set-variable -Wno-error=array-bounds" \ + make CC=gcc-49 EXTRA_CFLAGS="-fno-strict-aliasing -Wno-error=unused-but-set-variable -Wno-error=array-bounds" \ bin/gpxe.lkrn bin/undionly.kpxe 2>&1 | grep -v housekeeping: | grep -v blib.list }