commit:     5b6bf15b55b1d1282167d75f84def2f2364b0e0a
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 18:34:54 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 19:29:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b6bf15b

dev-lang/rust: convert llvm config to regular table

inline table restriction on being single-line is not very readable in
our case

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-lang/rust/rust-1.62.0.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-lang/rust/rust-1.62.0.ebuild b/dev-lang/rust/rust-1.62.0.ebuild
index de6b1c414005..4b8fdf357c6e 100644
--- a/dev-lang/rust/rust-1.62.0.ebuild
+++ b/dev-lang/rust/rust-1.62.0.ebuild
@@ -339,7 +339,14 @@ src_configure() {
                        *)
                                ;;
                esac)
-               build-config = { CMAKE_VERBOSE_MAKEFILE = "ON", 
CMAKE_C_FLAGS_${cm_btype} = "${CFLAGS}", CMAKE_CXX_FLAGS_${cm_btype} = 
"${CXXFLAGS}", CMAKE_EXE_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}", 
CMAKE_MODULE_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}", 
CMAKE_SHARED_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}", 
CMAKE_STATIC_LINKER_FLAGS_${cm_btype} = "${ARFLAGS}" }
+               [llvm.build-config]
+               CMAKE_VERBOSE_MAKEFILE = "ON"
+               CMAKE_C_FLAGS_${cm_btype} = "${CFLAGS}"
+               CMAKE_CXX_FLAGS_${cm_btype} = "${CXXFLAGS}"
+               CMAKE_EXE_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}"
+               CMAKE_MODULE_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}"
+               CMAKE_SHARED_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}"
+               CMAKE_STATIC_LINKER_FLAGS_${cm_btype} = "${ARFLAGS}"
                [build]
                build-stage = 2
                test-stage = 2

Reply via email to