summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-09-23 16:44:22 -0700
committerKhem Raj <raj.khem@gmail.com>2024-09-24 23:49:10 -0700
commit70295d739f830a8d2abb2ad961e1c544f01be197 (patch)
tree2949e767c6e480c75c32c74c640585f3f9539364
parentf3cf775413863c61121911ca83e72bee9e27ec29 (diff)
downloadmeta-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.conf6
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
356CXXFLAGS:pn-nodejs:append:toolchain-clang = " -Wno-error=enum-constexpr-conversion" 356CXXFLAGS: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]
358CXXFLAGS: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++"
419LIBCPLUSPLUS:pn-netdata:toolchain-clang = "-stdlib=libstdc++" 421LIBCPLUSPLUS:pn-netdata:toolchain-clang = "-stdlib=libstdc++"
420LIBCPLUSPLUS:pn-cpp-netlib:toolchain-clang = "-stdlib=libstdc++" 422LIBCPLUSPLUS:pn-cpp-netlib:toolchain-clang = "-stdlib=libstdc++"
421LIBCPLUSPLUS:pn-cpprest:toolchain-clang = "-stdlib=libstdc++" 423LIBCPLUSPLUS: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# | ^~~~~~~~~~~~~~~
427LIBCPLUSPLUS: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