disable delayed branch optimization for kernel - seems to improve stability on v1...
[openwrt.git] / openwrt / package / asterisk / Makefile
index 169e391..f428e9a 100644 (file)
@@ -88,7 +88,7 @@ asterisk-compile: $(PKG_BUILD_DIR)/.patched
                $(TARGET_CONFIGURE_OPTS) \
                OPTIMIZE="$(TARGET_CFLAGS)" \
                PROC="$(ARCH)" \
-               CFLAGS_EXTRA="-I$(STAGING_DIR)/usr/include" \
+               CFLAGS_EXTRA="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include/speex" \
                LDFLAGS_EXTRA="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/mysql" \
                CRYPTO_LIBS="-L$(STAGING_DIR)/usr/lib -Wl,-Bstatic -lssl -lcrypto -Wl,-Bdynamic" \
                EXTRA_APPS="$(APPS)" \
@@ -167,6 +167,8 @@ $(PKG_SOUNDS): asterisk-compile
        $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_SOUNDS_DIR) control/$(PKG_NAME)-sounds.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
        mkdir -p $(PKG_SOUNDS_DIR)/usr/lib/asterisk/sounds
        cp -a $(PKG_BUILD_DIR)/sounds/* $(PKG_SOUNDS_DIR)/usr/lib/asterisk/sounds/
+       rm -f $(PKG_SOUNDS_DIR)/usr/lib/asterisk/sounds/*.mp3
+       rm -f $(PKG_SOUNDS_DIR)/usr/lib/asterisk/sounds/vm-*
        mkdir -p $(PACKAGE_DIR)
        $(IPKG_BUILD) $(PKG_SOUNDS_DIR) $(PACKAGE_DIR)
 
This page took 0.022695 seconds and 4 git commands to generate.