Unverified Commit d836f2ab authored by Emily's avatar Emily Committed by GitHub
Browse files

boost{177,178,179,180,181,182,183}: conditionalize stacktrace flag (#369964)

parents 20ed748c 45e24264
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -89,6 +89,8 @@ let
      "link=${link}"
      "-sEXPAT_INCLUDE=${expat.dev}/include"
      "-sEXPAT_LIBPATH=${expat.out}/lib"
    ]
    ++ lib.optionals (lib.versionAtLeast version "1.85") [
      (
        # The stacktrace from exception feature causes memory leaks when built
        # with libc++. For all other standard library implementations, i.e.
@@ -99,9 +101,8 @@ let
        else
          "define=BOOST_STACKTRACE_LIBCXX_RUNTIME_MAY_CAUSE_MEMORY_LEAK"
      )

      # TODO: make this unconditional
    ]
    # TODO: make this unconditional
    ++
      lib.optionals
        (