diff --git a/archiver/xz/xz.conf b/archiver/xz/xz.conf index 1dbbb20d3..4f167b814 100644 --- a/archiver/xz/xz.conf +++ b/archiver/xz/xz.conf @@ -14,4 +14,5 @@ var_append GCC_WRAPPER_APPEND ' ' '-std=gnu99' var_append SYSGCC_WRAPPER_APPEND ' ' '-std=gnu99' -var_append makeopt ' ' 'CFLAGS="-std=gnu99"' +export CC="$CC -std=gnu99" +var_append confopt ' ' ' --disable-lzmadec --disable-lzmainfo --disable-lzma-links'