Unverified Commit c45258cc authored by rewine's avatar rewine Committed by GitHub
Browse files

autotier: fix build with boost 1.89+ (#501145)

parents 8dc052fb 12ea0da0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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";