diff --git a/pkgs/development/libraries/libvorbis/default.nix b/pkgs/development/libraries/libvorbis/default.nix index aa8763d6d67..42e7328a8ec 100644 --- a/pkgs/development/libraries/libvorbis/default.nix +++ b/pkgs/development/libraries/libvorbis/default.nix @@ -16,6 +16,8 @@ stdenv.mkDerivation rec { doCheck = true; + # strip -mno-ieee-fp flag from configure and configure.ac when using + # clang as the flag is not recognized by the compiler preConfigure = lib.optionalString (stdenv.cc.isClang or false) '' sed s/\-mno\-ieee\-fp// -i {configure,configure.ac} '';