diff options
-rw-r--r-- | testing/R/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
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 <jakub@jirutka.cz> 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 \ |