diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 5a60bc78..2d57459b 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -511,6 +511,12 @@ do_gcc_core_backend() { *) extra_config+=( "--enable-decimal-float=${CT_CC_GCC_DEC_FLOATS}" );; esac + if [ "${CT_CC_GCC_ENABLE_PLUGINS}" = "y" ]; then + extra_config+=( --enable-plugin ) + else + extra_config+=( --disable-plugin ) + fi + case "${CT_ARCH}" in mips) case "${CT_CC_GCC_mips_llsc}" in