Skip to content

Commit

Permalink
xen: Fix build on Glibc 2.24
Browse files Browse the repository at this point in the history
  • Loading branch information
fpletz committed Aug 23, 2016
1 parent c49f2a0 commit a12b2bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/applications/virtualization/xen/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ stdenv.mkDerivation {
touch tools/include/gnu/stubs-32.h
'';

# Fix build on Glibc 2.24.
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";

# TODO: Flask needs more testing before enabling it by default.
#makeFlags = "XSM_ENABLE=y FLASK_ENABLE=y PREFIX=$(out) CONFIG_DIR=/etc XEN_EXTFILES_URL=\\$(XEN_ROOT)/xen_ext_files ";
makeFlags = "PREFIX=$(out) CONFIG_DIR=/etc XEN_EXTFILES_URL=\\$(XEN_ROOT)/xen_ext_files ";
Expand Down

0 comments on commit a12b2bf

Please sign in to comment.