summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-03-05 14:04:44 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-03-05 14:04:44 (GMT)
commit8296cf6c7ffa920ee9d37ac4695d52966fd1ecff (patch)
treee2dd8ad821ab51fd5f09316a15e659af4b2f8bed
parent194ac2d5496d7895980252059d9e133b218cf170 (diff)
downloadbuildroot-8296cf6c7ffa920ee9d37ac4695d52966fd1ecff.tar.gz
buildroot-8296cf6c7ffa920ee9d37ac4695d52966fd1ecff.tar.bz2
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 2da8fcb..dfc0638 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))