aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tbb.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-09-26 12:41:46 +0200
committerRicardo Wurmus <rekado@elephly.net>2016-09-26 14:30:58 +0200
commit1a545a1e7c30db76e562af527673081b490c4a11 (patch)
treee2203f160f146a293efeaf5634bd363a2277b001 /gnu/packages/tbb.scm
parentba4529c4f76a455076a0b4a74e6af5fca3140064 (diff)
downloadpatches-1a545a1e7c30db76e562af527673081b490c4a11.tar
patches-1a545a1e7c30db76e562af527673081b490c4a11.tar.gz
gnu: tbb: Fail on test errors.
* gnu/packages/tbb.scm (tbb)[arguments]: Add phase "fail-on-test-errors".
Diffstat (limited to 'gnu/packages/tbb.scm')
-rw-r--r--gnu/packages/tbb.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/tbb.scm b/gnu/packages/tbb.scm
index eab51f8a1e..43e9288fee 100644
--- a/gnu/packages/tbb.scm
+++ b/gnu/packages/tbb.scm
@@ -51,6 +51,11 @@
(assoc-ref %outputs "out") "/lib"))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'fail-on-test-errors
+ (lambda _
+ (substitute* "Makefile"
+ (("-\\$\\(MAKE") "$(MAKE"))
+ #t))
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "build/linux.gcc.inc"