Commit 2f7e2308 authored by Colin's avatar Colin
Browse files

knot-dns: fix cross compilation

parent 202e99a7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ stdenv.mkDerivation rec {
  # FIXME: sphinx is needed for now to get man-pages
  nativeBuildInputs = [
    pkg-config
    protobufc # dnstap support
    autoreconfHook
    sphinx
  ];
@@ -94,6 +95,7 @@ stdenv.mkDerivation rec {
  ++ lib.optional stdenv.hostPlatform.isDarwin zlib; # perhaps due to gnutls

  enableParallelBuilding = true;
  strictDeps = true;

  CFLAGS = [
    "-O2"