summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/blas-reference/blas-reference-20151113-r1.ebuild12
1 files changed, 2 insertions, 10 deletions
diff --git a/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild b/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild
index d5c4ac3829a5..afa3c5bf4c3a 100644
--- a/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild
+++ b/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild
@@ -42,15 +42,10 @@ src_prepare() {
}
src_configure() {
- local FCFLAGS="${FCFLAGS}"
- append-fflags $($(tc-getPKG_CONFIG) --cflags ${blas_profname})
- append-fflags $(get_abi_CFLAGS)
- append-fflags $(numeric-int64_get_fortran_int64_abi_fflags)
-
local mycmakeargs=(
-Wno-dev
-DUSE_OPTIMIZED_BLAS=OFF
- -DCMAKE_Fortran_FLAGS="${FCFLAGS}"
+ -DCMAKE_Fortran_FLAGS="$(get_abi_CFLAGS) ${FCFLAGS}"
-DBUILD_SHARED_LIBS=ON
-DBUILD_STATIC_LIBS=ON
)
@@ -59,10 +54,7 @@ src_configure() {
}
src_compile() {
- local each target_dirs=( BLAS )
- for each in ${target_dirs[@]}; do
- cmake-utils_src_compile -C ${each}
- done
+ cmake-utils_src_compile -C BLAS
}
src_install() {