baresip: fix build with musl

alsa-lib needs _GNU_SOURCE to be set for integer types to be defined.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2015-06-28 20:46:11 +02:00
parent a28e403244
commit 04527e08b8
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ BARESIP_MOD_OPTIONS:= \
MOD_AUTODETECT= \
$(foreach m,$(baresip-mods),$(baresip-mod-$(m))=$(if $(CONFIG_PACKAGE_baresip-mod-$(m)),1))
TARGET_CFLAGS += $(FPIC)
TARGET_CFLAGS += $(FPIC) -D_GNU_SOURCE
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \