diff options
author | Giulio De Pasquale <github@depasquale.giugl.io> | 2022-10-15 17:25:20 +0200 |
---|---|---|
committer | ehmry <ehmry@posteo.net> | 2022-10-15 11:01:03 -0500 |
commit | 3d61633563fae7141b4a020fb1c4eae860711a5f (patch) | |
tree | 80c6259c6c112a785f3ad7431a102e3255d303fe | |
parent | 2e3eff3ed06c3e6596361a2c8067edb11103563e (diff) |
libvorbis: Add comment on -mno-ieee-fp flag strip
-rw-r--r-- | pkgs/development/libraries/libvorbis/default.nix | 2 |
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} ''; |