busybox/archival
Ming Liu 978307f8a1 tar: add IF_FEATURE_* checks
A following linking error was observed:
| ==========
| archival/lib.a(tar.o): In function `tar_main':
| archival/tar.c:1168: undefined reference to `unpack_Z_stream'
| archival/tar.c:1168: undefined reference to `unpack_Z_stream'
| ld: busybox_unstripped: hidden symbol `unpack_Z_stream' isn't defined
| ld: final link failed: Bad value

this happened with clang compiler, with the following configs:
| CONFIG_TAR=y
| # CONFIG_FEATURE_SEAMLESS_Z is not set

which can be fixed by adding IF_FEATURE_* checks in.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-06-13 19:13:37 +02:00
..
libarchive Spelling fixes in comments, documentation, tests and examples 2017-04-17 16:13:32 +02:00
ar.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
bbunzip_test2.sh add tests for gunzip 2007-10-05 15:27:03 +00:00
bbunzip_test3.sh add tests for gunzip 2007-10-05 15:27:03 +00:00
bbunzip_test.sh add tests for gunzip 2007-10-05 15:27:03 +00:00
bbunzip.c *: add comment about APPLET_ODDNAME format 2017-01-29 14:57:33 +01:00
bzip2.c Allow 'gzip -d' and 'bzip2 -d' without gunzip or bunzip2 2017-01-09 09:03:31 +01:00
Config.src Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
cpio.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
dpkg_deb.c Make DPKG=y and DPKG_DEB=y by default 2016-12-23 13:52:53 +01:00
dpkg.c Spelling fixes in comments, documentation, tests and examples 2017-04-17 16:13:32 +02:00
gzip.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
Kbuild.src cpio: implement -R/--owner 2015-10-16 17:24:46 +02:00
lzop.c *: add comment about APPLET_ODDNAME format 2017-01-29 14:57:33 +01:00
rpm2cpio.c zcat: complain if input is not compressed 2014-02-02 02:06:38 +01:00
rpm.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
rpm.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tar.c tar: add IF_FEATURE_* checks 2017-06-13 19:13:37 +02:00
unzip.c whitespace fix 2017-03-24 15:00:12 +01:00