[packages] php5: predefine target endianess (#4560)
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 12 Aug 2010 00:14:50 +0000 (00:14 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 12 Aug 2010 00:14:50 +0000 (00:14 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22603 3c298f89-4303-0410-b956-a3cf2f4a3e73

lang/php5/Makefile

index 97911f7..8f2efef 100644 (file)
@@ -367,6 +367,9 @@ endef
   depends on PHP5_LIBXML
 endef
 
+CONFIGURE_VARS += \
+       ac_cv_c_bigendian_php=$(if $(CONFIG_BIG_ENDIAN),yes,no)
+
 PKG_CONFIGURE_OPTS:= \
        --enable-shared \
        --disable-static \