diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-02-11 09:24:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 09:24:39 -0800 |
commit | e24b1235e82083d2088df5f8f93b1277daf17ff2 (patch) | |
tree | d7fc24f8b96395f5c8e5b4e2ff55419ad31c3269 /dynamic-layers | |
parent | 92abd44335b84fc895ddc166694fe8b2a2783ae6 (diff) | |
parent | a9827590d24cd44203dcbaca92a47bace3c14f94 (diff) | |
download | meta-clang-clang12.tar.gz |
Merge pull request #566 from kraj/dunfell-clang12clang12
Dunfell clang12
Diffstat (limited to 'dynamic-layers')
3 files changed, 26 insertions, 0 deletions
diff --git a/dynamic-layers/chromium-browser-layer/recipes-browser/chromium-ozone-wayland_%.bbappend b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium-ozone-wayland_%.bbappend new file mode 100644 index 0000000..ff82a79 --- /dev/null +++ b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium-ozone-wayland_%.bbappend | |||
@@ -0,0 +1,10 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | GN_ARGS += "use_lld=true use_gold=false" | ||
4 | |||
5 | UNWINDLIB_toolchain-clang = "--unwindlib=libgcc" | ||
6 | |||
7 | DEPENDS_remove = "compiler-rt-native libcxx-native" | ||
8 | |||
9 | BUILD_CPPFLAGS_remove = "-isysroot=${STAGING_DIR_NATIVE} -stdlib=libc++" | ||
10 | BUILD_LDFLAGS_remove = "-rtlib=libgcc -unwindlib=libgcc -stdlib=libc++ -lc++abi -rpath ${STAGING_LIBDIR_NATIVE}" | ||
diff --git a/dynamic-layers/chromium-browser-layer/recipes-browser/chromium-x11_%.bbappend b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium-x11_%.bbappend new file mode 100644 index 0000000..ff82a79 --- /dev/null +++ b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium-x11_%.bbappend | |||
@@ -0,0 +1,10 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | GN_ARGS += "use_lld=true use_gold=false" | ||
4 | |||
5 | UNWINDLIB_toolchain-clang = "--unwindlib=libgcc" | ||
6 | |||
7 | DEPENDS_remove = "compiler-rt-native libcxx-native" | ||
8 | |||
9 | BUILD_CPPFLAGS_remove = "-isysroot=${STAGING_DIR_NATIVE} -stdlib=libc++" | ||
10 | BUILD_LDFLAGS_remove = "-rtlib=libgcc -unwindlib=libgcc -stdlib=libc++ -lc++abi -rpath ${STAGING_LIBDIR_NATIVE}" | ||
diff --git a/dynamic-layers/chromium-browser-layer/recipes-browser/gn-native_%.bbappend b/dynamic-layers/chromium-browser-layer/recipes-browser/gn-native_%.bbappend new file mode 100644 index 0000000..cd60c58 --- /dev/null +++ b/dynamic-layers/chromium-browser-layer/recipes-browser/gn-native_%.bbappend | |||
@@ -0,0 +1,6 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | DEPENDS_remove = "compiler-rt-native libcxx-native" | ||
4 | |||
5 | CXXFLAGS_remove = "-isysroot=${STAGING_DIR_NATIVE} -stdlib=libc++" | ||
6 | LDFLAGS_remove = "-rtlib=libgcc -unwindlib=libgcc -stdlib=libc++ -lc++abi -rpath ${STAGING_LIBDIR_NATIVE}" | ||