diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-09-23 16:44:22 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-09-24 23:49:10 -0700 |
| commit | 70295d739f830a8d2abb2ad961e1c544f01be197 (patch) | |
| tree | 2949e767c6e480c75c32c74c640585f3f9539364 | |
| parent | f3cf775413863c61121911ca83e72bee9e27ec29 (diff) | |
| download | meta-clang-70295d739f830a8d2abb2ad961e1c544f01be197.tar.gz | |
vte: Use libstdc++ when using clang
It does not build with libc++ anymore.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | conf/nonclangable.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 00de43f..36a3993 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
| @@ -354,6 +354,8 @@ CFLAGS:pn-pidgin-sipe:append:toolchain-clang = " -Wno-error=cast-function-type-s | |||
| 354 | # v8 engine in nodejs moved beyong this commit | 354 | # v8 engine in nodejs moved beyong this commit |
| 355 | # https://github.com/v8/v8/commit/d15d49b09dc7aef9edcc4cf6a0cb2b77a0db203f | 355 | # https://github.com/v8/v8/commit/d15d49b09dc7aef9edcc4cf6a0cb2b77a0db203f |
| 356 | CXXFLAGS:pn-nodejs:append:toolchain-clang = " -Wno-error=enum-constexpr-conversion" | 356 | CXXFLAGS:pn-nodejs:append:toolchain-clang = " -Wno-error=enum-constexpr-conversion" |
| 357 | # ../vte-0.78.0/src/color-test.cc:167:21: error: constexpr function never produces a constant expression [-Winvalid-constexpr] | ||
| 358 | CXXFLAGS:pn-vte:append:toolchain-clang = " -Wno-error=invalid-constexpr" | ||
| 357 | 359 | ||
| 358 | #| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4' | 360 | #| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4' |
| 359 | #| clang-7: error: linker command failed with exit code 1 (use -v to see invocation) | 361 | #| clang-7: error: linker command failed with exit code 1 (use -v to see invocation) |
| @@ -419,6 +421,10 @@ LIBCPLUSPLUS:pn-poco:toolchain-clang = "-stdlib=libstdc++" | |||
| 419 | LIBCPLUSPLUS:pn-netdata:toolchain-clang = "-stdlib=libstdc++" | 421 | LIBCPLUSPLUS:pn-netdata:toolchain-clang = "-stdlib=libstdc++" |
| 420 | LIBCPLUSPLUS:pn-cpp-netlib:toolchain-clang = "-stdlib=libstdc++" | 422 | LIBCPLUSPLUS:pn-cpp-netlib:toolchain-clang = "-stdlib=libstdc++" |
| 421 | LIBCPLUSPLUS:pn-cpprest:toolchain-clang = "-stdlib=libstdc++" | 423 | LIBCPLUSPLUS:pn-cpprest:toolchain-clang = "-stdlib=libstdc++" |
| 424 | # ../vte-0.78.0/src/termprops.hh:392:31: error: no matching function for call to 'from_chars' | ||
| 425 | # 392 | if (auto [ptr, err] = std::from_chars(std::begin(str), | ||
| 426 | # | ^~~~~~~~~~~~~~~ | ||
| 427 | LIBCPLUSPLUS:pn-vte:toolchain-clang = "-stdlib=libstdc++" | ||
| 422 | 428 | ||
| 423 | # Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so | 429 | # Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so |
| 424 | # let same compiler ( gcc or clang) be native/cross compiler | 430 | # let same compiler ( gcc or clang) be native/cross compiler |
