[net] Telephony: Yate: Added -DBIGENDIAN to TARGET_CFLAGS when the target is big...
authorcshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 15 Mar 2011 12:16:52 +0000 (12:16 +0000)
committercshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 15 Mar 2011 12:16:52 +0000 (12:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26178 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/yate/Makefile

index 504143e..50d1b9e 100644 (file)
@@ -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 \