diff options
author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2017-06-02 10:47:23 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-06-13 19:13:37 +0200 |
commit | 978307f8a19084ffb6e977ee28c731445e37dbbd (patch) | |
tree | 367ff8dd42c7bb7b4f9c562f079b4a3e8ccfc6c2 /miscutils/lsscsi.c | |
parent | 192dce4b84fb32346ebc5194de7daa5da3b8d1b4 (diff) | |
download | busybox-978307f8a19084ffb6e977ee28c731445e37dbbd.tar.gz |
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>
Diffstat (limited to 'miscutils/lsscsi.c')
0 files changed, 0 insertions, 0 deletions