wok-current rev 25614

use gcc49 to build syslinux (seem corrupt with new gcc)
author Stanislas Leduc <shann@slitaz.org>
date Sun Sep 03 13:07:16 2023 +0000 (14 months ago)
parents 346139f1a8e6
children d9c7e1e77a12
files syslinux/receipt
line diff
     1.1 --- a/syslinux/receipt	Sun Sep 03 07:35:58 2023 +0000
     1.2 +++ b/syslinux/receipt	Sun Sep 03 13:07:16 2023 +0000
     1.3 @@ -14,7 +14,7 @@
     1.4  TAGS="boot"
     1.5  
     1.6  BUILD_DEPENDS="wget kbd-base perl nasm dev86 lzma mingw32-gcc upx posixovl \
     1.7 -util-linux-uuid-dev advancecomp libidn linld e2fsprogs"
     1.8 +util-linux-uuid-dev advancecomp libidn linld e2fsprogs gcc49"
     1.9  
    1.10  current_version()
    1.11  {
    1.12 @@ -36,10 +36,10 @@
    1.13  	export LDFLAGS=''
    1.14  	make clean
    1.15  	echo "make all: LDFLAGS=$LDFLAGS"
    1.16 -	make all 2>&1 | sed 's/NO_WERROR=1/NO_Werror=1/;/syslinux64.exe/d'
    1.17 +	make CC='gcc-49' all 2>&1 | sed 's/NO_WERROR=1/NO_Werror=1/;/syslinux64.exe/d'
    1.18  	echo "make core: LDFLAGS=$LDFLAGS"
    1.19 -	make -C core
    1.20 -	make -C com32
    1.21 +	make CC='gcc-49' -C core
    1.22 +	make CC='gcc-49' -C com32
    1.23  	./isohybrid.sh --build
    1.24  	sed -i 's/loadkeys -m/loadkeys -u -m/' utils/keytab-lilo	# for ru.kbd
    1.25  	mkdir kbd
    1.26 @@ -50,7 +50,7 @@
    1.27  	done
    1.28  	cp -a $stuff/iso2exe .
    1.29  	cp $LINLD/*/linld.com iso2exe
    1.30 -	make -C iso2exe
    1.31 +	make CC='gcc-49' -C iso2exe
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.