Commit 7b01e492 authored by Atemu's avatar Atemu
Browse files
parent aff767f7
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -28,10 +28,8 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [ cmake ];

  env.NIX_CFLAGS_COMPILE =
    lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [
      "-fno-ipa-modref" # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102823
    ];
  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102823
  env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") "-fno-ipa-modref";

  cmakeFlags = [
    "-DBUILD_SHARED_LIBS=OFF"