From 3d61633563fae7141b4a020fb1c4eae860711a5f Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Sat, 15 Oct 2022 17:25:20 +0200 Subject: [PATCH] libvorbis: Add comment on -mno-ieee-fp flag strip --- pkgs/development/libraries/libvorbis/default.nix | 2 ++ 1 file changed, 2 insertions(+) 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} '';