~ruther/guix-local

9a745d76f6594a31994731ef6892290e01cc683f — Manolis Ragkousis 10 years ago 9852994
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.
1 files changed, 8 insertions(+), 0 deletions(-)

M gnu/packages/cross-base.scm
M gnu/packages/cross-base.scm => gnu/packages/cross-base.scm +8 -0
@@ 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