solc: fix build on GCC 14

This commit is contained in:
Gaetan Lepage
2024-12-31 15:48:17 +01:00
parent df28e19d17
commit 3b085fd66d
+9
View File
@@ -71,6 +71,15 @@ let
hash = linuxHash;
};
# Fix build with GCC 14
# Submitted upstream: https://github.com/ethereum/solidity/pull/15685
postPatch = ''
substituteInPlace test/yulPhaser/Chromosome.cpp \
--replace-fail \
"BOOST_TEST(abs" \
"BOOST_TEST(fabs"
'';
cmakeFlags =
[
"-DBoost_USE_STATIC_LIBS=OFF"