summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-03-05 15:04:44 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-03-05 15:04:44 +0100
commit8296cf6c7ffa920ee9d37ac4695d52966fd1ecff (patch)
treee2dd8ad821ab51fd5f09316a15e659af4b2f8bed
parent194ac2d5496d7895980252059d9e133b218cf170 (diff)
downloadbuildroot-novena-8296cf6c7ffa920ee9d37ac4695d52966fd1ecff.tar.gz
buildroot-novena-8296cf6c7ffa920ee9d37ac4695d52966fd1ecff.zip
xz: fix build without wchar support
xz itself works without wchar support, but the C99 test in configure fails when it isn't available. Fix it by providing a cached value for the test. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/xz/xz.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/xz/xz.mk b/package/xz/xz.mk
index 2da8fcb94..dfc0638cc 100644
--- a/package/xz/xz.mk
+++ b/package/xz/xz.mk
@@ -7,6 +7,7 @@ XZ_VERSION = 5.0.0
XZ_SOURCE = xz-$(XZ_VERSION).tar.bz2
XZ_SITE = http://tukaani.org/xz/
XZ_INSTALL_STAGING = YES
+XZ_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
$(eval $(call AUTOTARGETS,package,xz))
$(eval $(call AUTOTARGETS,package,xz,host))