From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/newlib/
Date: Thu, 23 Jun 2016 19:14:19 +0000 (UTC) [thread overview]
Message-ID: <1466709247.edae0804767dbb7a2d5f71e847de473a9cff8638.vapier@gentoo> (raw)
commit: edae0804767dbb7a2d5f71e847de473a9cff8638
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 23 19:12:39 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 19:14:07 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edae0804
sys-libs/newlib: build with --disable-newlib-supplied-syscalls
Switch myconf to an array at the same time to clean things up a bit.
sys-libs/newlib/newlib-2.4.0.ebuild | 13 +++++++++----
sys-libs/newlib/newlib-9999.ebuild | 13 +++++++++----
2 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/sys-libs/newlib/newlib-2.4.0.ebuild b/sys-libs/newlib/newlib-2.4.0.ebuild
index 12999bc..4282764 100644
--- a/sys-libs/newlib/newlib-2.4.0.ebuild
+++ b/sys-libs/newlib/newlib-2.4.0.ebuild
@@ -53,10 +53,15 @@ src_configure() {
unset LDFLAGS
CHOST=${CTARGET} strip-unsupported-flags
- local myconf=""
+ local myconf=(
+ # Disable legacy syscall stub code in newlib. These have been
+ # moved to libgloss for a long time now, so the code in newlib
+ # itself just gets in the way.
+ --disable-newlib-supplied-syscalls
+ )
[[ ${CTARGET} == "spu" ]] \
- && myconf="${myconf} --disable-newlib-multithread" \
- || myconf="${myconf} $(use_enable threads newlib-multithread)"
+ && myconf+=( --disable-newlib-multithread ) \
+ || myconf+=( $(use_enable threads newlib-multithread) )
mkdir -p "${NEWLIBBUILD}"
cd "${NEWLIBBUILD}"
@@ -65,7 +70,7 @@ src_configure() {
econf \
$(use_enable unicode newlib-mb) \
$(use_enable nls) \
- ${myconf}
+ "${myconf[@]}"
}
src_compile() {
diff --git a/sys-libs/newlib/newlib-9999.ebuild b/sys-libs/newlib/newlib-9999.ebuild
index 69e50b0..9ef5293 100644
--- a/sys-libs/newlib/newlib-9999.ebuild
+++ b/sys-libs/newlib/newlib-9999.ebuild
@@ -53,10 +53,15 @@ src_configure() {
unset LDFLAGS
CHOST=${CTARGET} strip-unsupported-flags
- local myconf=""
+ local myconf=(
+ # Disable legacy syscall stub code in newlib. These have been
+ # moved to libgloss for a long time now, so the code in newlib
+ # itself just gets in the way.
+ --disable-newlib-supplied-syscalls
+ )
[[ ${CTARGET} == "spu" ]] \
- && myconf="${myconf} --disable-newlib-multithread" \
- || myconf="${myconf} $(use_enable threads newlib-multithread)"
+ && myconf+=( --disable-newlib-multithread ) \
+ || myconf+=( $(use_enable threads newlib-multithread) )
mkdir -p "${NEWLIBBUILD}"
cd "${NEWLIBBUILD}"
@@ -65,7 +70,7 @@ src_configure() {
econf \
$(use_enable unicode newlib-mb) \
$(use_enable nls) \
- ${myconf}
+ "${myconf[@]}"
}
src_compile() {
next reply other threads:[~2016-06-23 19:14 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-23 19:14 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-02 14:27 [gentoo-commits] repo/gentoo:master commit in: sys-libs/newlib/ Sam James
2024-12-07 3:04 Sam James
2024-02-23 17:42 Sam James
2023-08-08 5:36 Sam James
2023-03-09 1:03 Sam James
2023-01-20 23:54 Mike Frysinger
2023-01-20 22:31 Mike Frysinger
2023-01-20 22:31 Mike Frysinger
2023-01-20 22:31 Mike Frysinger
2022-06-03 18:49 Steve Arnold
2022-05-31 22:03 Sam James
2022-01-01 1:42 Mike Frysinger
2021-11-24 3:11 Mike Frysinger
2021-09-28 1:45 Sam James
2021-03-06 19:31 Sergei Trofimovich
2020-12-22 20:24 Sergei Trofimovich
2020-11-21 18:35 Sergei Trofimovich
2020-05-17 9:33 Sergei Trofimovich
2020-05-17 9:33 Sergei Trofimovich
2020-04-16 7:43 Sergei Trofimovich
2020-04-16 7:43 Sergei Trofimovich
2020-03-31 7:02 Sergei Trofimovich
2020-03-31 7:02 Sergei Trofimovich
2020-03-16 21:23 Sergei Trofimovich
2020-03-05 18:21 Sergei Trofimovich
2019-11-24 11:37 Sergei Trofimovich
2019-11-14 0:47 Aaron Bauman
2019-10-23 6:48 Sergei Trofimovich
2018-11-25 15:13 Sergei Trofimovich
2018-03-14 16:08 Jason Zaman
2018-01-07 19:39 Sergei Trofimovich
2017-01-02 20:10 Mike Frysinger
2016-03-30 3:46 Mike Frysinger
2016-01-18 10:06 Mike Frysinger
2016-01-04 19:57 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1466709247.edae0804767dbb7a2d5f71e847de473a9cff8638.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox