openh323: cleanup, fix cflags
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8274 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
015d53c1d3
commit
db71886c26
@ -29,21 +29,18 @@ define Package/libopenh323
|
|||||||
URL:=http://www.openh323.org/
|
URL:=http://www.openh323.org/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
CONFIGURE_ARGS += \
|
||||||
$(call Build/Configure/Default, \
|
--enable-minsize \
|
||||||
--enable-minsize \
|
--enable-audio \
|
||||||
--enable-audio \
|
--disable-video
|
||||||
--disable-video \
|
|
||||||
, \
|
|
||||||
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \
|
|
||||||
)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
CONFIGURE_VARS += \
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
|
||||||
optnoshared
|
MAKE_FLAGS += \
|
||||||
endef
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
CCFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
optnoshared
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)
|
ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user