diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2013-11-26 09:51:04 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-11-26 16:04:12 +0100 |
commit | f2a2c4cce60b6fda5541ac5cb945abe9958c93eb (patch) | |
tree | c1c9c08e808bd12b3c749b3b059f9e95332ecfd6 /package/php/php-no-iconv-search.patch | |
parent | d893bde74e75db4ddc78a719f72d0446a8cc9cd4 (diff) | |
download | buildroot-f2a2c4cce60b6fda5541ac5cb945abe9958c93eb.tar.gz buildroot-f2a2c4cce60b6fda5541ac5cb945abe9958c93eb.zip |
php: fix iconv related build failure
Fix a rare edge build failure when iconv is enabled, easily reproduced
in a debian chroot with an aarch64 external toolchain with iconv +
xmlrpc support enabled with a php cgi + cli target.
Should solve bug #6500.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/php/php-no-iconv-search.patch')
-rw-r--r-- | package/php/php-no-iconv-search.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/package/php/php-no-iconv-search.patch b/package/php/php-no-iconv-search.patch deleted file mode 100644 index d1e924b1ab..0000000000 --- a/package/php/php-no-iconv-search.patch +++ /dev/null @@ -1,21 +0,0 @@ -Don't push LDFLAGS/CFLAGS for iconv. -Just assume they're covered somewhere else. -Otherwise we get -L/usr/lib and -I/usr/include search paths with uClibc -internal iconv support, which breaks things. - -Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> - -diff -Nura php-5.3.13/configure php-5.3.13-iconv/configure ---- php-5.3.13/configure 2012-05-08 06:41:23.000000000 -0300 -+++ php-5.3.13-iconv/configure 2012-05-18 22:18:21.313975849 -0300 -@@ -47885,8 +47885,8 @@ - PHP_ICONV_PREFIX="$ICONV_DIR" - fi - -- CFLAGS="-I$PHP_ICONV_PREFIX/include $CFLAGS" -- LDFLAGS="-L$PHP_ICONV_PREFIX/$PHP_LIBDIR $LDFLAGS" -+ #CFLAGS="-I$PHP_ICONV_PREFIX/include $CFLAGS" -+ #LDFLAGS="-L$PHP_ICONV_PREFIX/$PHP_LIBDIR $LDFLAGS" - - if test -r "$PHP_ICONV_PREFIX/include/giconv.h"; then - PHP_ICONV_H_PATH="$PHP_ICONV_PREFIX/include/giconv.h" |