Merge pull request #277 from micmac1/bcg729-flags

Bcg729 flags
This commit is contained in:
Jiri Slachta 2018-02-27 09:22:04 +01:00 committed by GitHub
commit 04e2400f43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
# #
# Copyright (C) 2006-2017 OpenWrt.org # Copyright (C) 2006-2018 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bcg729 PKG_NAME:=bcg729
PKG_VERSION:=1.0.4 PKG_VERSION:=1.0.4
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.linphone.org/releases/sources/bcg729 PKG_SOURCE_URL:=https://www.linphone.org/releases/sources/bcg729
@ -40,9 +40,11 @@ define Package/bcg729/description
source code in any kind. source code in any kind.
endef endef
TARGET_CFLAGS += $(FPIC) # Otherwise OpenWrt's CPPFLAGS are ignored
TARGET_CFLAGS += $(TARGET_CPPFLAGS)
CMAKE_OPTIONS += \ CMAKE_OPTIONS += \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DENABLE_SHARED=YES \ -DENABLE_SHARED=YES \
-DENABLE_STATIC=NO \ -DENABLE_STATIC=NO \
-DENABLE_TESTS=NO -DENABLE_TESTS=NO