From 4589c4da8af7ce37e1e805c8cb7b4f3aeb532e5b Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 11 Dec 2012 16:58:10 +0000 Subject: [PATCH] opal: do not build against uclibc++ Neither g++-uc nor g++-uc+std prove to properly build opal, so just fallback to the standard g++ and libstdc++ build. Signed-off-by: Florian Fainelli SVN-Revision: 34634 --- libs/opal/Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/libs/opal/Makefile b/libs/opal/Makefile index 19ca8c99e..80e6e0f76 100644 --- a/libs/opal/Makefile +++ b/libs/opal/Makefile @@ -1,12 +1,11 @@ -# -# Copyright (C) 2006 OpenWrt.org +# +# Copyright (C) 2006-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/uclibc++.mk PKG_NAME:=opal PKG_VERSION:=3.2.1 @@ -18,16 +17,12 @@ PKG_MD5SUM:=405ba3b03ec706b6e6f873de340937e2 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION) -# Set location of ptlib (Which needs to have been built already) -export PTLIBDIR=$(BUILD_DIR)/ptlib -export PTLIBPLUGINDIR=$(BUILD_DIR)/ptlib/plugins/ptlib/ - include $(INCLUDE_DIR)/package.mk define Package/libopal SECTION:=libs CATEGORY:=Libraries - DEPENDS:=+ptlib $(CXX_DEPENDS) + DEPENDS:=+ptlib +libstdcpp TITLE:=Open Phone Abstraction Library URL:=http://www.opalvoip.org/ endef @@ -56,11 +51,15 @@ CONFIGURE_ARGS += \ --enable-localgsm CONFIGURE_VARS += \ - CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \ + PTLIBDIR="$(BUILD_DIR)/ptlib" \ + PTLIBPLUGINDIR="$(BUILD_DIR)/ptlib/plugins/ptlib/" + CXXFLAGS="$(TARGET_CFLAGS)" \ MAKE_FLAGS += \ CFLAGS="$(TARGET_CFLAGS)" \ CCFLAGS="$(TARGET_CFLAGS)" \ + PTLIBDIR="$(BUILD_DIR)/ptlib" \ + PTLIBPLUGINDIR="$(BUILD_DIR)/ptlib/plugins/ptlib/" \ optnoshared define Build/InstallDev -- 2.30.2