[net] Telephony: Yate: Fixed bigendian test to use CONFIG_BIG_ENDIAN, not a cached...
authorcshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 15 Mar 2011 12:48:48 +0000 (12:48 +0000)
committercshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 15 Mar 2011 12:48:48 +0000 (12:48 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26179 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/yate/Makefile

index 50d1b9e..2b95a14 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 $(if $(findstring ${ac_cv_c_bigendian},yes),-DBIGENDIAN,)
+TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include $(if $(CONFIG_BIG_ENDIAN),-DBIGENDIAN,)
 
 CONFIGURE_ARGS+= \
        --without-libqt4 \