|
@@ -86,6 +86,8 @@ HOST_BINUTILS_CONF_OPTS = \
|
|
|
--with-sysroot=$(STAGING_DIR) \
|
|
|
--enable-poison-system-directories \
|
|
|
--without-debuginfod \
|
|
|
+ --enable-plugins \
|
|
|
+ --enable-lto \
|
|
|
$(BINUTILS_DISABLE_GDB_CONF_OPTS) \
|
|
|
$(BINUTILS_EXTRA_CONFIG_OPTIONS)
|
|
|
|
|
@@ -120,10 +122,6 @@ HOST_BINUTILS_POST_EXTRACT_HOOKS += BINUTILS_XTENSA_OVERLAY_EXTRACT
|
|
|
HOST_BINUTILS_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL)
|
|
|
endif
|
|
|
|
|
|
-ifeq ($(BR2_BINUTILS_ENABLE_LTO),y)
|
|
|
-HOST_BINUTILS_CONF_OPTS += --enable-plugins --enable-lto
|
|
|
-endif
|
|
|
-
|
|
|
# Hardlinks between binaries in different directories cause a problem
|
|
|
# with rpath fixup, so we de-hardlink those binaries, and replace them
|
|
|
# with copies instead.
|