Skip to content
Snippets Groups Projects
Verified Commit 6054fe9c authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

Bug 41015: Enable std::filesystem on libc++ on Windows

We need to do some path manipulation in some Firefox code that is run
before initializing XPCOM.
So, the alternatives are either Path* functions from shlwapi, or
std::filesystem, which is disabled in Firefox 115.

Mozilla enabled it starting from 116, but we have been told it is okay
to enable it also in 115, so we do it with this patch.
parent f36acd4f
Branches
Tags
1 merge request!851Bug 41015&41016: Switch from bullseye to bookworm on macOS+Windows and update libc++ configuration on Windows
......@@ -175,7 +175,7 @@ EOF
-DLIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG=TRUE \
-DLIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB=TRUE \
-DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF \
-DLIBCXX_ENABLE_FILESYSTEM=OFF \
-DLIBCXX_ENABLE_FILESYSTEM=ON \
-DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=TRUE \
-DLIBCXX_CXX_ABI=libcxxabi \
-DLIBCXX_CXX_ABI_INCLUDE_PATHS=$builddir/clang-source/libcxxabi/include \
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment