baresip: fix build by manually forcing feature flags for fresh glibc time.h

This commit is contained in:
Michael Raskin 2016-09-06 19:09:54 +02:00
parent caac16a924
commit 71fe391ac1
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}"
++ stdenv.lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.cc.libc}"
;
NIX_CFLAGS_COMPILE='' -I${librem}/include/rem -I${gsm}/include/gsm '';
NIX_CFLAGS_COMPILE='' -I${librem}/include/rem -I${gsm}/include/gsm
-DHAVE_INTTYPES_H -D__GLIBC__
-D__need_timeval -D__need_timespec -D__need_time_t '';
meta = {
homepage = "http://www.creytiv.com/baresip.html";
platforms = with stdenv.lib.platforms; linux;