From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8890A158094 for ; Sat, 16 Jul 2022 13:44:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C684E0F2A; Sat, 16 Jul 2022 13:44:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C333E0F28 for ; Sat, 16 Jul 2022 13:44:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6CE534104E for ; Sat, 16 Jul 2022 13:44:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB754448 for ; Sat, 16 Jul 2022 13:44:23 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1657979047.c27eb43e0a473feba6038f4845881534047338ba.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: eclass/ X-VCS-Repository: repo/proj/guru X-VCS-Files: eclass/nim-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: c27eb43e0a473feba6038f4845881534047338ba X-VCS-Branch: dev Date: Sat, 16 Jul 2022 13:44:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ba337963-5fe6-4dac-bf7b-00c24a796ca7 X-Archives-Hash: 1105dfc6bffb7e9e668e31c5f94237c4 commit: c27eb43e0a473feba6038f4845881534047338ba Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Sat Jul 16 07:05:02 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Sat Jul 16 13:44:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c27eb43e nim-utils.eclass: refine nim.cfg options Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> eclass/nim-utils.eclass | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/eclass/nim-utils.eclass b/eclass/nim-utils.eclass index eb03c0fc5..951234d1b 100644 --- a/eclass/nim-utils.eclass +++ b/eclass/nim-utils.eclass @@ -101,9 +101,15 @@ nim_gen_config() { gcc.linkerexe:"$(tc-getCC)" gcc.cpp.exe:"$(tc-getCXX)" gcc.cpp.linkerexe:"$(tc-getCXX)" - gcc.options.always:"${CFLAGS} ${CPPFLAGS}" + gcc.options.speed:"${CFLAGS}" + gcc.options.size:"${CFLAGS}" + gcc.options.debug:"${CFLAGS}" + gcc.options.always:"${CPPFLAGS}" gcc.options.linker:"${LDFLAGS}" - gcc.cpp.options.always:"${CFLAGS} ${CPPFLAGS}" + gcc.cpp.options.speed:"${CXXFLAGS}" + gcc.cpp.options.size:"${CXXFLAGS}" + gcc.cpp.options.debug:"${CXXFLAGS}" + gcc.cpp.options.always:"${CPPFLAGS}" gcc.cpp.options.linker:"${LDFLAGS}" $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')