summaryrefslogtreecommitdiff
path: root/package/asterisk/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-27 17:07:45 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-27 17:16:43 +0200
commit157312f822ce0149a52d5c5ef9097b5e4be49da3 (patch)
tree90b671d46d63b3faa0e4286c725b2d4fcfdcd178 /package/asterisk/Makefile
parent8bda1953a66d0b7d533547736e0c6867bd856178 (diff)
asterisk: fix compile with gcc5
Diffstat (limited to 'package/asterisk/Makefile')
-rw-r--r--package/asterisk/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index 05f1a4290..27eb3b924 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -72,7 +72,6 @@ CONFIGURE_ARGS= --with-z=${STAGING_TARGET_DIR}/usr \
--without-tonezone \
--without-asound \
--without-curses \
- --without-gtk \
--without-gtk2 \
--without-h323 \
--without-iksemel \
@@ -117,6 +116,7 @@ endif
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -fgnu89-inline
TARGET_LDFLAGS+= -lm -ltinfo -ldl -lpthread
MAKE_ENV= ASTCFLAGS="${TARGET_CPPFLAGS} -DHAVE_STRTOQ" \
ASTLDFLAGS="${TARGET_LDFLAGS}"