From b194050ee1cf377f66b55260f48d631ee8b12d24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 19 May 2014 10:26:54 +0200 Subject: [PATCH] Fixing the cross gcc building. gcc 4.8 added libatomic, and it has to be disabled in case of gccCrossStageStatic, as it requires libc. --- pkgs/development/compilers/gcc/4.8/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/gcc/4.8/default.nix b/pkgs/development/compilers/gcc/4.8/default.nix index 4f9e734d41c..01f7ea6e3e6 100644 --- a/pkgs/development/compilers/gcc/4.8/default.nix +++ b/pkgs/development/compilers/gcc/4.8/default.nix @@ -160,6 +160,7 @@ let version = "4.8.2"; " --disable-libgomp " + " --disable-libquadmath" + " --disable-shared" + + " --disable-libatomic " + # libatomic requires libc " --disable-decimal-float" # libdecnumber requires libc else (if crossDarwin then " --with-sysroot=${libcCross}/share/sysroot"