Opportunistic measures to prevent the need to convert null to string; they may work or may not work for actually building
This commit is contained in:
parent
732811700a
commit
4517d03af1
@ -19,8 +19,6 @@ stdenv.mkDerivation rec {
|
||||
"LIBRE_INC=${libre}/include/re"
|
||||
"LIBRE_SO=${libre}/lib"
|
||||
"LIBREM_PATH=${librem}"
|
||||
"SYSROOT=${stdenv.gcc.libc}"
|
||||
"SYSROOT_ALT=${stdenv.gcc.gcc}"
|
||||
''PREFIX=$(out)''
|
||||
"USE_VIDEO=1"
|
||||
|
||||
@ -33,7 +31,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
"USE_BV32=" "USE_COREAUDIO=" "USE_G711=" "USE_G722=" "USE_G722_1="
|
||||
"USE_ILBC=" "USE_OPUS=" "USE_SILK="
|
||||
];
|
||||
]
|
||||
++ stdenv.lib.optional (stdenv.gcc.gcc != null) "SYSROOT_ALT=${stdenv.gcc.gcc}"
|
||||
++ stdenv.lib.optional (stdenv.gcc.libc != null) "SYSROOT=${stdenv.gcc.libc}"
|
||||
;
|
||||
NIX_CFLAGS_COMPILE='' -I${librem}/include/rem -I${gsm}/include/gsm '';
|
||||
meta = {
|
||||
homepage = "http://www.creytiv.com/baresip.html";
|
||||
|
@ -9,10 +9,11 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [zlib openssl];
|
||||
makeFlags = [
|
||||
"USE_ZLIB=1" "USE_OPENSSL=1"
|
||||
"SYSROOT=${stdenv.gcc.libc}"
|
||||
"SYSROOT_ALT=${stdenv.gcc.gcc}"
|
||||
''PREFIX=$(out)''
|
||||
];
|
||||
]
|
||||
++ stdenv.lib.optional (stdenv.gcc.gcc != null) "SYSROOT_ALT=${stdenv.gcc.gcc}"
|
||||
++ stdenv.lib.optional (stdenv.gcc.libc != null) "SYSROOT=${stdenv.gcc.libc}"
|
||||
;
|
||||
meta = {
|
||||
homepage = "http://www.creytiv.com/re.html";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
|
Binary file not shown.
@ -10,10 +10,11 @@ stdenv.mkDerivation rec {
|
||||
makeFlags = [
|
||||
"LIBRE_MK=${libre}/share/re/re.mk"
|
||||
"LIBRE_INC=${libre}/include/re"
|
||||
"SYSROOT=${stdenv.gcc.libc}"
|
||||
"SYSROOT_ALT=${stdenv.gcc.gcc}"
|
||||
''PREFIX=$(out)''
|
||||
];
|
||||
]
|
||||
++ stdenv.lib.optional (stdenv.gcc.gcc != null) "SYSROOT_ALT=${stdenv.gcc.gcc}"
|
||||
++ stdenv.lib.optional (stdenv.gcc.libc != null) "SYSROOT=${stdenv.gcc.libc}"
|
||||
;
|
||||
meta = {
|
||||
homepage = "http://www.creytiv.com/rem.html";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
|
Loading…
Reference in New Issue
Block a user