Merge pull request #273688 from wegank/phonon-darwin
libsForQt5.phonon: fix build on darwin
This commit is contained in:
commit
4efd772e60
1 changed files with 5 additions and 1 deletions
|
@ -50,7 +50,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-fPIC";
|
||||
env.NIX_CFLAGS_COMPILE = toString ([
|
||||
"-fPIC"
|
||||
] ++ lib.optionals stdenv.cc.isClang [
|
||||
"-Wno-error=enum-constexpr-conversion"
|
||||
]);
|
||||
|
||||
cmakeBuildType = if debug then "Debug" else "Release";
|
||||
|
||||
|
|
Loading…
Reference in a new issue