[PATCH] D159414: [Driver] Fixes for header / library paths on Haiku
Brad Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 9 20:28:47 PDT 2023
brad added inline comments.
================
Comment at: clang/test/Driver/haiku.cpp:2
+// Check the C++ header path (libstdc++)
+// RUN: %clang++ --target=x86_64-unknown-haiku -### %s 2>&1 \
+// RUN: --sysroot=%S/Inputs/haiku_x86_64_tree \
----------------
abrachet wrote:
> This test is broken for people who configure with a different default `CLANG_DEFAULT_CXX_STDLIB`. I think this test should add `--stdlib=libstdc++`
> This test is broken for people who configure with a different default `CLANG_DEFAULT_CXX_STDLIB`. I think this test should add `--stdlib=libstdc++`
Ah, I wasn't aware of that. I made the test such assuming the driver uses a default of libstdc++ on Haiku. I can add the flag.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159414/new/
https://reviews.llvm.org/D159414
More information about the cfe-commits
mailing list