mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
libsamplerate: Use default gcc
This commit is contained in:
parent
b52da47cf1
commit
eb6c0826c5
@ -15,10 +15,14 @@ stdenv.mkDerivation rec {
|
||||
#--disable-fftw disable usage of FFTW
|
||||
#--disable-cpu-clip disable tricky cpu specific clipper
|
||||
|
||||
# need headers from the Carbon.framework in /System/Library/Frameworks to
|
||||
# compile this on darwin -- not sure how to handle
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin
|
||||
"-I/System/Library/Frameworks/Carbon.framework/Versions/A/Headers";
|
||||
postConfigure = stdenv.lib.optionalString stdenv.isDarwin
|
||||
''
|
||||
# need headers from the Carbon.framework in /System/Library/Frameworks to
|
||||
# compile this on darwin -- not sure how to handle
|
||||
NIX_CFLAGS_COMPILE+=" -I$xcodePath/System/Library/Frameworks/Carbon.framework/Versions/A/Headers"
|
||||
|
||||
substituteInPlace examples/Makefile --replace "-fpascal-strings" ""
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Sample Rate Converter for audio";
|
||||
|
@ -5255,11 +5255,7 @@ let
|
||||
|
||||
librevisa = callPackage ../development/libraries/librevisa { };
|
||||
|
||||
libsamplerate = callPackage ../development/libraries/libsamplerate {
|
||||
stdenv = if stdenv.isDarwin
|
||||
then overrideGCC stdenv gccApple
|
||||
else stdenv;
|
||||
};
|
||||
libsamplerate = callPackage ../development/libraries/libsamplerate { };
|
||||
|
||||
libspectre = callPackage ../development/libraries/libspectre { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user