xz: fix build without wchar support
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 5 Mar 2011 14:04:44 +0000 (15:04 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 5 Mar 2011 14:04:44 +0000 (15:04 +0100)
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>
package/xz/xz.mk

index 2da8fcb949e24def82a88e1b764c115bfd26a184..dfc0638ccc086255f0a5eebe8a746e5937f45451 100644 (file)
@@ -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))