libvorbis: Remove flags not recognized by clang
This commit is contained in:
committed by
ehmry
parent
91fe9fa60f
commit
fe552f1979
@@ -5,7 +5,8 @@ stdenv.mkDerivation rec {
|
||||
version = "1.3.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.xiph.org/releases/vorbis/${pname}-${version}.tar.xz";
|
||||
url =
|
||||
"http://downloads.xiph.org/releases/vorbis/${pname}-${version}.tar.xz";
|
||||
sha256 = "0jwmf87x5sdis64rbv0l87mdpah1rbilkkxszipbzg128f9w8g5k";
|
||||
};
|
||||
|
||||
@@ -16,6 +17,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
preConfigure = lib.optionalString (stdenv.cc.isClang or false) ''
|
||||
sed s/\-mno\-ieee\-fp// -i {configure,configure.ac}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Vorbis audio compression reference implementation";
|
||||
homepage = "https://xiph.org/vorbis/";
|
||||
|
||||
Reference in New Issue
Block a user