X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by lists.alpinelinux.org (Postfix) with ESMTP id 79CF1F84F70 for ; Fri, 4 Jan 2019 06:24:44 +0000 (UTC) Received: by mail-lj1-f196.google.com with SMTP id g11-v6so31595684ljk.3 for ; Thu, 03 Jan 2019 22:24:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AhP9biSc+q0XAlQQlcVRfrAP9rgy2d3o2PlKq7bfdg4=; b=LNU94sFDio5SeAW4mYZR7jgnw9ycMKu6RpF7jGVGOp7ACZI6eDw/wZy6iktjOd+Tl+ hpLFgtuQNmKslIolZnlWfCLTDTNMfk0S6YutlccNljmXBvYGRnzc17xK90iDopWd3HlL z8PxqY/LbGKbspPw8fFKYCtHCJ9jMpWWjQpNJpvBWgufFqD4fzXlSucI3+bbijVCrOGP +urwoTjuSk75Fyjx+j1cxbYoFt1stddXZQqG2ccp97EpsDywfxlqWhfb1CAtaNYKdZAc RiNvHQk/o3AgCnZRdwz/7ZseLtx+2pOVVpVb3xMRZ0dL7RlEovYIp4MrlmTXuI2fy9/H qe/A== X-Gm-Message-State: AA+aEWbIX6IYNrhg9KxNGl6/SC00doeA99M8VimoSsRVT0NcZ5sePAcS cuxyD8c4HkkxTuMW9FQmvT/Xvh+m X-Google-Smtp-Source: ALg8bN6IsYcDxmBtNR8hEndc4rNGhXzj+8nS5d0iqOeKIUiKvqG1bWnaEcwr9qjDRuRYMIE/jGCpXA== X-Received: by 2002:a2e:9f0b:: with SMTP id u11-v6mr23985979ljk.99.1546583083451; Thu, 03 Jan 2019 22:24:43 -0800 (PST) Received: from vostro ([83.145.235.199]) by smtp.gmail.com with ESMTPSA id 1-v6sm11860422lju.61.2019.01.03.22.24.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Jan 2019 22:24:43 -0800 (PST) Date: Fri, 4 Jan 2019 08:24:40 +0200 From: Timo Teras To: "Milan P. =?UTF-8?B?U3RhbmnEhw==?=" Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] community/libcoro: fix build on armv7 Message-ID: <20190104082440.0ace5e56@vostro> In-Reply-To: <20190103180636.4774-1-mps@arvanta.net> References: <20190103180636.4774-1-mps@arvanta.net> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, We also have now main/libucontext for the makecontext() support. Would it make sense to use CORO_UCONTEXT + libucontext; or is the CORO_SJLJ more favorable? Timo On Thu, 3 Jan 2019 19:06:36 +0100 Milan P. Stani=C4=87 wrote: > use CORO_SJLJ build C flag on all architectures > --- > community/libcoro/APKBUILD | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) >=20 > diff --git a/community/libcoro/APKBUILD b/community/libcoro/APKBUILD > index cdd5562aa7..0e0bd4307b 100644 > --- a/community/libcoro/APKBUILD > +++ b/community/libcoro/APKBUILD > @@ -2,7 +2,7 @@ > # Maintainer: Jakub Jirutka > pkgname=3Dlibcoro > pkgver=3D6.513 > -pkgrel=3D0 > +pkgrel=3D1 > pkgdesc=3D"Coroutines (cooperative multitasking) in a portable fashion > implemented in C" url=3D"http://software.schmorp.de/pkg/libcoro.html" > arch=3D"all" > @@ -42,11 +42,7 @@ prepare() { > build() { > cd "$builddir" > =20 > - CFLAGS=3D"-fPIC -pedantic -Wall" > - case "$CARCH" in > - x86* | armv7*) CFLAGS=3D"$CFLAGS -DCORO_ASM";; > - *) CFLAGS=3D"$CFLAGS -DCORO_SJLJ";; > - esac > + CFLAGS=3D"-DCORO_SJLJ -fPIC -pedantic -Wall" > =20 > # Build shared lib. > $CC $CFLAGS -O3 -c coro.c --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---