From 95c5a4b490a8774f829262b6a2d065f0efe4c5ab Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 21 May 2016 13:44:15 +0200 Subject: testing/R: add -D__MUSL__ to CXXFLAGS/CXX1XFLAGS --- testing/R/APKBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'testing') diff --git a/testing/R/APKBUILD b/testing/R/APKBUILD index 9c89f61112..e030b02cc8 100644 --- a/testing/R/APKBUILD +++ b/testing/R/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Jakub Jirutka pkgname=R pkgver=3.3.0 -pkgrel=3 +pkgrel=4 pkgdesc="Language and environment for statistical computing" url="https://www.r-project.org" arch="x86_64 x86" @@ -31,7 +31,10 @@ ldpath="/$_rhome/lib" build() { cd "$builddir" - ./configure \ + # CXXFLAGS is propagated to /etc/R/Makeconf that is read when building + # additional R modules. -D__MUSL__ is needed for some modules like Rcpp. + # htps://github.com/RcppCore/Rcpp/issues/448 + CXXFLAGS="$CXXFLAGS -D__MUSL__" ./configure \ --prefix=/usr \ --sysconfdir=/etc/R \ --localstatedir=/var \ -- cgit v1.2.3