diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-05-21 13:44:15 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-23 11:40:36 +0000 |
commit | 95c5a4b490a8774f829262b6a2d065f0efe4c5ab (patch) | |
tree | 568df1c0c57939727c7e0b673e13c2c9b52ba72a /testing | |
parent | 086e95610c9bcf980ed93b84d14570f76fd4858b (diff) | |
download | aports-95c5a4b490a8774f829262b6a2d065f0efe4c5ab.tar.bz2 aports-95c5a4b490a8774f829262b6a2d065f0efe4c5ab.tar.xz |
testing/R: add -D__MUSL__ to CXXFLAGS/CXX1XFLAGS
Diffstat (limited to 'testing')
-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 \ |