diff options
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/compilers/gcc/4.9/default.nix | 3 | ||||
-rw-r--r-- | pkgs/development/compilers/gcc/5/default.nix | 3 | ||||
-rw-r--r-- | pkgs/development/compilers/gcc/6/default.nix | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gcc/4.9/default.nix b/pkgs/development/compilers/gcc/4.9/default.nix index 2030f931c51a..a8aa550c93c4 100644 --- a/pkgs/development/compilers/gcc/4.9/default.nix +++ b/pkgs/development/compilers/gcc/4.9/default.nix @@ -189,6 +189,9 @@ let version = "4.9.4"; # To keep ABI compatibility with upstream mingw-w64 " --enable-fully-dynamic-string" else (if cross.libc == "uclibc" then + # libsanitizer requires netrom/netrom.h which is not + # available in uclibc. + " --disable-libsanitizer" + # In uclibc cases, libgomp needs an additional '-ldl' # and as I don't know how to pass it, I disable libgomp. " --disable-libgomp" else "") + diff --git a/pkgs/development/compilers/gcc/5/default.nix b/pkgs/development/compilers/gcc/5/default.nix index 4802c3fe2782..2ac4f553f850 100644 --- a/pkgs/development/compilers/gcc/5/default.nix +++ b/pkgs/development/compilers/gcc/5/default.nix @@ -189,6 +189,9 @@ let version = "5.4.0"; # To keep ABI compatibility with upstream mingw-w64 " --enable-fully-dynamic-string" else (if cross.libc == "uclibc" then + # libsanitizer requires netrom/netrom.h which is not + # available in uclibc. + " --disable-libsanitizer" + # In uclibc cases, libgomp needs an additional '-ldl' # and as I don't know how to pass it, I disable libgomp. " --disable-libgomp" else "") + diff --git a/pkgs/development/compilers/gcc/6/default.nix b/pkgs/development/compilers/gcc/6/default.nix index e87554c25ab8..ec6f0ca8d14c 100644 --- a/pkgs/development/compilers/gcc/6/default.nix +++ b/pkgs/development/compilers/gcc/6/default.nix @@ -188,6 +188,9 @@ let version = "6.1.0"; # To keep ABI compatibility with upstream mingw-w64 " --enable-fully-dynamic-string" else (if cross.libc == "uclibc" then + # libsanitizer requires netrom/netrom.h which is not + # available in uclibc. + " --disable-libsanitizer" + # In uclibc cases, libgomp needs an additional '-ldl' # and as I don't know how to pass it, I disable libgomp. " --disable-libgomp" else "") + |