From d102c19a659750d3c24697b747de21f6fba575b5 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 17 Aug 2016 22:48:26 +0100 Subject: fix building of cbfstool in release archives --- resources/scripts/helpers/build/release/util | 1 + 1 file changed, 1 insertion(+) (limited to 'resources/scripts') diff --git a/resources/scripts/helpers/build/release/util b/resources/scripts/helpers/build/release/util index 55a00f73..3f7528f1 100755 --- a/resources/scripts/helpers/build/release/util +++ b/resources/scripts/helpers/build/release/util @@ -108,6 +108,7 @@ mv "flashrom_/" "flashrom/" cp -R "crossgcc/util/cbfstool/" "${distdir}/" (cd "${distdir}/cbfstool/" && make clean) +sed -i '/.*fmd_scanner.o.*-Wno-unused-function$/ s/$/ -Wno-sign-compare/' crossgcc/util/cbfstool/Makefile.inc cp -R "crossgcc/util/nvramtool/" "${distdir}/" (cd "${distdir}/nvramtool/" && make clean) cp -R "crossgcc/util/ectool/" "${distdir}/" -- cgit v1.2.3-70-g09d2