summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2015-06-28 18:46:11 +0000
committerDaniel Golle2015-06-28 18:46:45 +0000
commit04527e08b80400fc87e5c3a27ac3945759dd7875 (patch)
tree0b79de46c189136724aa6e286ca18126c4e3d9b4
parenta28e403244813bbaa3795294312683ece02763dc (diff)
downloadtelephony-04527e08b80400fc87e5c3a27ac3945759dd7875.tar.gz
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>
-rw-r--r--net/baresip/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/baresip/Makefile b/net/baresip/Makefile
index a78089d..3c086a5 100644
--- a/net/baresip/Makefile
+++ b/net/baresip/Makefile
@@ -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) \