Telephony: Yate: Added -DBIGENDIAN to TARGET_CFLAGS when the target is big endian...
authorDaniel Dickinson <crazycshore@gmail.com>
Tue, 15 Mar 2011 12:16:52 +0000 (12:16 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Tue, 15 Mar 2011 12:16:52 +0000 (12:16 +0000)
SVN-Revision: 26178

net/yate/Makefile

index 504143e1a55aea3919b6741b580d5035d17aa24e..50d1b9e9fdbe21f86553a972e585235b8e9c35fb 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 \