aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cross-base.scm
diff options
context:
space:
mode:
authorManolis Ragkousis <manolis837@gmail.com>2016-02-16 15:06:33 +0200
committerManolis Ragkousis <manolis837@gmail.com>2016-07-05 14:55:21 +0300
commit9a745d76f6594a31994731ef6892290e01cc683f (patch)
tree6815b6d410d5c15f498a2a4da0e23817f04b6bb5 /gnu/packages/cross-base.scm
parent9852994842785f0e62a6b9046f282beed5271e19 (diff)
downloadguix-9a745d76f6594a31994731ef6892290e01cc683f.tar
guix-9a745d76f6594a31994731ef6892290e01cc683f.tar.gz
gnu: cross-gcc-arguments: Disable libitm, libvtv and libsanitizer.
* gnu/packages/cross-base.scm (cross-gcc-arguments)[arguments]: Add "--disable-libitm", "--disable-libvtv" and "--disable-libsanitizer" when libc is not present.
Diffstat (limited to 'gnu/packages/cross-base.scm')
-rw-r--r--gnu/packages/cross-base.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index 718e56e3de..3bd30fd78c 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -121,6 +121,14 @@ may be either a libc package or #f.)"
"--disable-libquadmath"
"--disable-decimal-float" ;would need libc
"--disable-libcilkrts"
+
+ ;; When target is any OS other than 'none' these
+ ;; libraries will fail if there is no libc
+ ;; present. See
+ ;; <https://lists.gnu.org/archive/html/guix-devel/2016-02/msg01311.html>
+ "--disable-libitm"
+ "--disable-libvtv"
+ "--disable-libsanitizer"
)))
,(if libc