From: Felix Fietkau Date: Tue, 31 Jul 2007 11:22:44 +0000 (+0000) Subject: openh323: cleanup, fix cflags X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=da3fb68bb33d6757883619476a18725cb2a61942;p=openwrt%2Fsvn-archive%2Farchive.git openh323: cleanup, fix cflags SVN-Revision: 8274 --- diff --git a/libs/openh323/Makefile b/libs/openh323/Makefile index d6700bafa1..de55816cb2 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 - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - optnoshared -endef +CONFIGURE_ARGS += \ + --enable-minsize \ + --enable-audio \ + --disable-video + +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)