From 460fc3fd9d61db541c8f10fcd30443e0c0aa061d Mon Sep 17 00:00:00 2001 From: cshore Date: Tue, 15 Mar 2011 12:16:52 +0000 Subject: [PATCH] [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 --- net/yate/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \