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-fftw disable usage of FFTW
|
||||||
#--disable-cpu-clip disable tricky cpu specific clipper
|
#--disable-cpu-clip disable tricky cpu specific clipper
|
||||||
|
|
||||||
# need headers from the Carbon.framework in /System/Library/Frameworks to
|
postConfigure = stdenv.lib.optionalString stdenv.isDarwin
|
||||||
# compile this on darwin -- not sure how to handle
|
''
|
||||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin
|
# need headers from the Carbon.framework in /System/Library/Frameworks to
|
||||||
"-I/System/Library/Frameworks/Carbon.framework/Versions/A/Headers";
|
# 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; {
|
meta = with stdenv.lib; {
|
||||||
description = "Sample Rate Converter for audio";
|
description = "Sample Rate Converter for audio";
|
||||||
|
@ -5255,11 +5255,7 @@ let
|
|||||||
|
|
||||||
librevisa = callPackage ../development/libraries/librevisa { };
|
librevisa = callPackage ../development/libraries/librevisa { };
|
||||||
|
|
||||||
libsamplerate = callPackage ../development/libraries/libsamplerate {
|
libsamplerate = callPackage ../development/libraries/libsamplerate { };
|
||||||
stdenv = if stdenv.isDarwin
|
|
||||||
then overrideGCC stdenv gccApple
|
|
||||||
else stdenv;
|
|
||||||
};
|
|
||||||
|
|
||||||
libspectre = callPackage ../development/libraries/libspectre { };
|
libspectre = callPackage ../development/libraries/libspectre { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user