diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-12-29 21:26:08 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-12-30 22:33:53 +0100 |
commit | 121807c08927c0a0d04c965beb6a8785ea89e47f (patch) | |
tree | 770d2e5284a8736bacdd755fdb40c525b7e10ac0 | |
parent | 8b0a90d4f13e14495d7e9670ed661d430273dff7 (diff) | |
download | buildroot-121807c08927c0a0d04c965beb6a8785ea89e47f.tar.gz buildroot-121807c08927c0a0d04c965beb6a8785ea89e47f.zip |
tar: do not build SELinux support for host variant
If we don't explicitly disable SELinux support in the host-tar build,
it might pick up system-wide installed SELinux libraries, causing the
tar in HOST_DIR/bin/ to depend on the host SELinux libraries, which is
not desirable to make the SDK portable/relocatable.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/tar/tar.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/tar/tar.mk b/package/tar/tar.mk index cb2ddc0eca..a8a15d9518 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -44,4 +44,7 @@ define HOST_TAR_EXTRACT_CMDS mv $(@D)/tar-$(TAR_VERSION)/* $(@D) rmdir $(@D)/tar-$(TAR_VERSION) endef + +HOST_TAR_CONF_OPTS = --without-selinux + $(eval $(host-autotools-package)) |