cmake: Temporarily pass flags
To mimic LLVM 7 behavior we need to pass `-Wno-elaborated-enum-base` in `CXXFLAGS`. Ideally this gets fixed upstream and won't be necessary.
This commit is contained in:
parent
1be8e73fb3
commit
982f7228ff
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
configureFlags = [
|
||||
"CXXFLAGS=-Wno-elaborated-enum-base"
|
||||
"--docdir=share/doc/${pname}${version}"
|
||||
] ++ (if useSharedLibraries then [ "--no-system-jsoncpp" "--system-libs" ] else [ "--no-system-libs" ]) # FIXME: cleanup
|
||||
++ lib.optional withQt5 "--qt-gui"
|
||||
|
|
Loading…
Reference in a new issue