diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-02-11 09:23:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 09:23:39 -0800 |
commit | a9827590d24cd44203dcbaca92a47bace3c14f94 (patch) | |
tree | d7fc24f8b96395f5c8e5b4e2ff55419ad31c3269 | |
parent | 92abd44335b84fc895ddc166694fe8b2a2783ae6 (diff) | |
parent | 4e204e8881964b3977d3cde6c1c83739dc4a10de (diff) | |
download | meta-clang-a9827590d24cd44203dcbaca92a47bace3c14f94.tar.gz |
Merge pull request #565 from kraj/kraj/clang12
merge dunfell branch into clang12
4 files changed, 28 insertions, 2 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 2f9d6f8..19e348b 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -11,8 +11,8 @@ LAYERSERIES_COMPAT_clang-layer = "dunfell hardknott honister" | |||
11 | LAYERDEPENDS_clang-layer = "core" | 11 | LAYERDEPENDS_clang-layer = "core" |
12 | 12 | ||
13 | BBFILES_DYNAMIC += " \ | 13 | BBFILES_DYNAMIC += " \ |
14 | browser-layer:${LAYERDIR}/dynamic-layers/chromium-browser-layer/*/*/*.bb \ | 14 | chromium-browser-layer:${LAYERDIR}/dynamic-layers/chromium-browser-layer/*/*.bb \ |
15 | browser-layer:${LAYERDIR}/dynamic-layers/chromium-browser-layer/*/*/*.bbappend \ | 15 | chromium-browser-layer:${LAYERDIR}/dynamic-layers/chromium-browser-layer/*/*.bbappend \ |
16 | openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \ | 16 | openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \ |
17 | openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \ | 17 | openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \ |
18 | networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/*/*/*.bb \ | 18 | networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/*/*/*.bb \ |
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}" | ||