diff options
Diffstat (limited to 'toolchain/binutils/Makefile')
-rw-r--r-- | toolchain/binutils/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 1000a1c03..14c33bc05 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -19,8 +19,12 @@ CONFOPTS+= --disable-lto --disable-plugins endif ifeq ($(ADK_TOOLCHAIN_WITH_GOLD),y) +ifeq ($(ADK_TARGET_USE_GOLD),y) CONFOPTS+= --enable-gold=default else +CONFOPTS+= --enable-gold +endif +else CONFOPTS+= --disable-gold endif |