From db71886c2611d035f648f39dfc13061090c2289d Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 31 Jul 2007 11:22:44 +0000 Subject: [PATCH] openh323: cleanup, fix cflags git-svn-id: svn://svn.openwrt.org/openwrt/packages@8274 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/openh323/Makefile | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/libs/openh323/Makefile b/libs/openh323/Makefile index d6700bafa..de55816cb 100644 --- a/libs/openh323/Makefile +++ b/libs/openh323/Makefile @@ -29,21 +29,18 @@ define Package/libopenh323 URL:=http://www.openh323.org/ endef -define Build/Configure - $(call Build/Configure/Default, \ - --enable-minsize \ - --enable-audio \ - --disable-video \ - , \ - CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \ - ) -endef +CONFIGURE_ARGS += \ + --enable-minsize \ + --enable-audio \ + --disable-video -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - optnoshared -endef +CONFIGURE_VARS += \ + CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \ + +MAKE_FLAGS += \ + CFLAGS="$(TARGET_CFLAGS)" \ + CCFLAGS="$(TARGET_CFLAGS)" \ + optnoshared define Build/InstallDev ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)