toolchain/gcc: use explicit configure args

Spell out what we want to enable or disable. This prevents host libs to leak in,
so everyone get the same feature set.

Signed-off-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
Andre Heider
2023-01-31 12:04:00 +01:00
committed by Christian Marangi
parent dd39f760b7
commit 4b8b89da50
2 changed files with 3 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ GCC_CONFIGURE += \
--enable-shared \
--enable-threads \
--with-slibdir=$(TOOLCHAIN_DIR)/lib \
--enable-plugins \
--enable-lto \
--with-libelf=$(STAGING_DIR_HOST)