diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2016-03-19 23:14:56 +0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-03-20 15:02:52 +0100 |
commit | 3b3775c8cb2d2a5fe666cf30b95e8ec83a4f26c7 (patch) | |
tree | ef747fcce36914ddc2fc2aa9b21770c30a4aa681 | |
parent | f0304a68ccf2e5d18828c0b9ca46532fd0771e80 (diff) | |
download | buildroot-3b3775c8cb2d2a5fe666cf30b95e8ec83a4f26c7.tar.gz buildroot-3b3775c8cb2d2a5fe666cf30b95e8ec83a4f26c7.zip |
binutils: disable plugins for static links
Plugins want to use dlopen even when configured with --disable-shared.
Add --disable-plugins when STATIC_LIBS is selected.
Fixes:
http://autobuild.buildroot.net/results/a59e5858d777dcee3d8f7fb6e82ee4735b520155/
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/binutils/binutils.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index 66ee247b9f..ca39f0b146 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -51,6 +51,10 @@ BINUTILS_CONF_OPTS = \ $(BINUTILS_DISABLE_GDB_CONF_OPTS) \ $(BINUTILS_EXTRA_CONFIG_OPTIONS) +ifeq ($(BR2_STATIC_LIBS),y) +BINUTILS_CONF_OPTS += --disable-plugins +endif + # Don't build documentation. It takes up extra space / build time, # and sometimes needs specific makeinfo versions to work BINUTILS_CONF_ENV += ac_cv_prog_MAKEINFO=missing |