Skip to content

Commit 1309787

Browse files
krajotavio
authored andcommitted
chromium,gn-native: Convert runtime-llvm override to new syntax
Signed-off-by: Khem Raj <[email protected]>
1 parent 729ee46 commit 1309787

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

meta-chromium/recipes-browser/chromium/chromium-gn.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ DEPENDS += " \
8484
qemu-native \
8585
virtual/libgl \
8686
"
87-
DEPEND_append_runtime-llvm = " compiler-rt-native libcxx-native"
87+
DEPEND:append:runtime-llvm = " compiler-rt-native libcxx-native"
8888

8989
# The wrapper script we use from upstream requires bash.
9090
RDEPENDS:${PN} = "bash"
@@ -254,9 +254,9 @@ GN_ARGS += ' \
254254
'
255255

256256
# Use libcxx headers for native parts
257-
BUILD_CPPFLAGS_append_rumtime-llvm = " -isysroot=${STAGING_DIR_NATIVE} -stdlib=libc++"
257+
BUILD_CPPFLAGS:append:rumtime-llvm = " -isysroot=${STAGING_DIR_NATIVE} -stdlib=libc++"
258258
# Use libgcc for native parts
259-
BUILD_LDFLAGS_append_runtime-llvm = " -rtlib=libgcc -unwindlib=libgcc -stdlib=libc++ -lc++abi -rpath ${STAGING_LIBDIR_NATIVE}"
259+
BUILD_LDFLAGS:append:runtime-llvm = " -rtlib=libgcc -unwindlib=libgcc -stdlib=libc++ -lc++abi -rpath ${STAGING_LIBDIR_NATIVE}"
260260

261261
# Toolchains we will use for the build. We need to point to the toolchain file
262262
# we've created, set the right target architecture and make sure we are not

meta-chromium/recipes-browser/chromium/gn-native_92.0.4515.107.bb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ BUILD_LD = "${CXX}"
2828
BUILD_AR = "llvm-ar"
2929

3030
DEPENDS = "clang-native ninja-native"
31-
DEPENDS_append_runtime-llvm = " compiler-rt-native libcxx-native"
31+
DEPENDS:append:runtime-llvm = " compiler-rt-native libcxx-native"
3232
# Use libcxx headers for native parts
33-
CXXFLAGS_append_runtime-llvm = " -isysroot=${STAGING_DIR_NATIVE} -stdlib=libc++"
33+
CXXFLAGS:append:runtime-llvm = " -isysroot=${STAGING_DIR_NATIVE} -stdlib=libc++"
3434
# Use libgcc for native parts
35-
LDFLAGS_append_runtime-llvm = " -rtlib=libgcc -unwindlib=libgcc -stdlib=libc++ -lc++abi -rpath ${STAGING_LIBDIR_NATIVE}"
35+
LDFLAGS:append:runtime-llvm = " -rtlib=libgcc -unwindlib=libgcc -stdlib=libc++ -lc++abi -rpath ${STAGING_LIBDIR_NATIVE}"
3636

3737
do_configure[noexec] = "1"
3838

0 commit comments

Comments
 (0)