Page MenuHomePhabricator

Fix the filesystem library check on GCC8 and Clang8
ClosedPublic

Authored by Fabien on Apr 27 2023, 09:07.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC2b4fd8699d80: Fix the filesystem library check on GCC8 and Clang8
Summary

Using the linker flags is not good for every version as it really is
an optional library. This diff makes this more correct and avoid build
failures/warnings for some older compiler versions (especially GCC8 on
Debian Buster).

Test Plan

With GCC8 and Clang8 (on Debian Buster):

ninja all check

Note: for the clang-8 build to succeed you need D13803.