solenv/gbuild/platform/com_GCC_defs.mk | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit a1453721c18c31d6c29f0cee0bdf796d0492668d Author: Thorsten Behrens <thorsten.behr...@allotropia.de> AuthorDate: Fri Feb 9 09:53:52 2024 +0100 Commit: Thorsten Behrens <thorsten.behr...@allotropia.de> CommitDate: Fri Feb 9 09:53:52 2024 +0100 Fix liborcus missing filesystem::file_size linker error On baseline gcc 8.3.1, liborcus-parser is missing a few of those experimental stdc++ symbols: liborcus-parser-0.18.so.0: undefined symbol: _ZNSt10filesystem9file_sizeERKNS_4pathE" Change-Id: I253d45d5966f0e99143b1fe983bd4d336178cd66 diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 8f99e91f5f9b..bb1a4aa4c4dd 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -298,6 +298,9 @@ gb_COMPILER_TEST_FLAGS := gb_COMPILER_PLUGINS := gb_COMPILER_PLUGINS_SETUP := gb_COMPILER_PLUGINS_WARNINGS_AS_ERRORS := +# fix std::filesystem linker error: +# https://stackoverflow.com/questions/33149878/experimentalfilesystem-linker-error +gb_LinkTarget_LDFLAGS += -lstdc++fs endif # Executable class