librevenge: fixup build with gcc-7 (ignore a warning)
This commit is contained in:
parent
c962702b57
commit
185cd2c60c
@ -21,11 +21,10 @@ stdenv.mkDerivation {
|
|||||||
inherit (s) url sha256;
|
inherit (s) url sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Clang generates warnings in Boost's header files
|
# Clang and gcc-7 generate warnings, and
|
||||||
# -Werror causes these warnings to be interpreted as errors
|
# -Werror causes these warnings to be interpreted as errors
|
||||||
# Simplest solution: disable -Werror
|
# Simplest solution: disable -Werror
|
||||||
configureFlags = if stdenv.cc.isClang
|
configureFlags = [ "--disable-werror" ];
|
||||||
then [ "--disable-werror" ] else null;
|
|
||||||
|
|
||||||
# Fix an issue with boost 1.59
|
# Fix an issue with boost 1.59
|
||||||
# This is fixed upstream so please remove this when updating
|
# This is fixed upstream so please remove this when updating
|
||||||
|
Loading…
Reference in New Issue
Block a user