X-Original-To: alpine-aports@lists.alpinelinux.org Received: from fx.arvanta.net (static-213-198-238-194.adsl.eunet.rs [213.198.238.194]) by lists.alpinelinux.org (Postfix) with ESMTP id ACC83F858B5 for ; Thu, 3 Jan 2019 18:06:40 +0000 (UTC) Received: from arya.arvanta.net (arya.arvanta.net [10.5.1.6]) by fx.arvanta.net (Postfix) with ESMTP id 7B1751A4D2; Thu, 3 Jan 2019 19:06:38 +0100 (CET) From: =?UTF-8?q?Milan=20P=2E=20Stani=C4=87?= To: alpine-aports@lists.alpinelinux.org Cc: =?UTF-8?q?Milan=20P=2E=20Stani=C4=87?= Subject: [alpine-aports] [PATCH] community/libcoro: fix build on armv7 Date: Thu, 3 Jan 2019 19:06:36 +0100 Message-Id: <20190103180636.4774-1-mps@arvanta.net> X-Mailer: git-send-email 2.18.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: use CORO_SJLJ build C flag on all architectures --- community/libcoro/APKBUILD | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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=libcoro pkgver=6.513 -pkgrel=0 +pkgrel=1 pkgdesc="Coroutines (cooperative multitasking) in a portable fashion implemented in C" url="http://software.schmorp.de/pkg/libcoro.html" arch="all" @@ -42,11 +42,7 @@ prepare() { build() { cd "$builddir" - CFLAGS="-fPIC -pedantic -Wall" - case "$CARCH" in - x86* | armv7*) CFLAGS="$CFLAGS -DCORO_ASM";; - *) CFLAGS="$CFLAGS -DCORO_SJLJ";; - esac + CFLAGS="-DCORO_SJLJ -fPIC -pedantic -Wall" # Build shared lib. $CC $CFLAGS -O3 -c coro.c -- 2.18.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---