autotier: fix build with boost 1.89+

This commit is contained in:
Xiangyan Sun
2026-03-19 15:20:13 -07:00
parent d5dcf11d7a
commit 12ea0da0c2
+5
View File
@@ -41,6 +41,11 @@ stdenv.mkDerivation (finalAttrs: {
})
];
postPatch = ''
# Fix build with boost 1.89+ where boost_system stub library has been removed
substituteInPlace makefile --replace-fail "-lboost_system" ""
'';
# Required by rocksdb after 10.7.5
env.EXTRA_CFLAGS = "-std=c++20 -fno-char8_t";