about summary refs log tree commit diff
path: root/pkgs/development/libraries/libvorbis
diff options
context:
space:
mode:
authorGiulio De Pasquale <github@depasquale.giugl.io>2022-10-15 17:25:20 +0200
committerehmry <ehmry@posteo.net>2022-10-15 11:01:03 -0500
commit3d61633563fae7141b4a020fb1c4eae860711a5f (patch)
tree80c6259c6c112a785f3ad7431a102e3255d303fe /pkgs/development/libraries/libvorbis
parent2e3eff3ed06c3e6596361a2c8067edb11103563e (diff)
libvorbis: Add comment on -mno-ieee-fp flag strip
Diffstat (limited to 'pkgs/development/libraries/libvorbis')
-rw-r--r--pkgs/development/libraries/libvorbis/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libvorbis/default.nix b/pkgs/development/libraries/libvorbis/default.nix
index aa8763d6d67b1..42e7328a8ec12 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}
   '';