From: cshore Date: Tue, 15 Mar 2011 12:16:52 +0000 (+0000) Subject: [net] Telephony: Yate: Added -DBIGENDIAN to TARGET_CFLAGS when the target is big... X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=460fc3fd9d61db541c8f10fcd30443e0c0aa061d;p=packages.git [net] Telephony: Yate: Added -DBIGENDIAN to TARGET_CFLAGS when the target is big endian. This fixes things like MD5 code in Yate for big endian targets. Closes #9049. Thanks to Dmitry Kurochkin for pointing this out. git-svn-id: svn://svn.openwrt.org/openwrt/packages@26178 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/yate/Makefile b/net/yate/Makefile index 504143e1a..50d1b9e9f 100644 --- a/net/yate/Makefile +++ b/net/yate/Makefile @@ -42,7 +42,7 @@ define Package/$(PKG_NAME)/Default/description SIP, H.323, IAX, PSTN, and more. endef -TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include +TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include $(if $(findstring ${ac_cv_c_bigendian},yes),-DBIGENDIAN,) CONFIGURE_ARGS+= \ --without-libqt4 \