Commit 472eb192 authored by Atemu's avatar Atemu
Browse files

ath9k: fix build of old gmp by disabling compiler warnings

parent 04634258
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -47,7 +47,12 @@ stdenv.mkDerivation (finalAttrs: {
    perl
  ];

  env.NIX_CFLAGS_COMPILE = "-w"; # old libiberty emits fatal warnings
  env.NIX_CFLAGS_COMPILE =
    # old libiberty emits fatal warnings
    "-w"
    # old gmp fails to compile with newer gcc
    # FIXME remove when the normal version has moved on
    + lib.optionalString (!enableUnstable) " -fpermissive";

  dontUseCmakeConfigure = true;
  enableParallelBuilding = true;