libstdcpp: Use -cxx-isystem wildcard (#11859)

Closes #11827
Closes #11546
Closes #11731

Co-authored-by: MarcoFalke <6399679+MarcoFalke@users.noreply.github.com>
This commit is contained in:
maflcko 2024-04-30 15:17:20 +02:00 committed by GitHub
parent b93b8827a7
commit 573ecad96f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ for fuzzsrcfile in /src/*.cpp; do
$CXXFLAGS \
-std=c++20 \
-nostdinc++ \
-cxx-isystem $INSTALLDIR/include/c++/14.0.0/ \
-cxx-isystem $INSTALLDIR/include/c++/14.0.0/x86_64-pc-linux-gnu \
-cxx-isystem $( echo $INSTALLDIR/include/c++/*/ ) \
-cxx-isystem $( echo $INSTALLDIR/include/c++/*/x86_64-pc-linux-gnu ) \
$fuzzsrcfile \
-o $OUT/$targetfile \
$LIB_FUZZING_ENGINE \