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/
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user