]> Zhao Yanbai Git Server - minix.git/commitdiff
Obey HAVE_GOLD=no to no intent to build gold 56/3356/2
authorAntoine Leca <Antoine.Leca.1@gmail.com>
Mon, 29 Aug 2016 12:12:06 +0000 (14:12 +0200)
committerLionel Sambuc <lionel.sambuc@gmail.com>
Thu, 1 Sep 2016 05:47:09 +0000 (07:47 +0200)
This is useful when the host C++ compiler is broken or not compliant.

Change-Id: I09933e81ae07e95e5696b177cd4670cab33ce6c1

tools/binutils/Makefile

index 79fa6a822d3c22602138242cb513d2837149b3f1..1878deca82f750d32baa0cb3e077133dbba3b91d 100644 (file)
@@ -37,7 +37,7 @@ ALL_TARGET+=  all-gprof
 INSTALL_TARGET+=install-gprof
 .endif
 
-.if defined(__MINIX)
+.if defined(__MINIX) && ${HAVE_GOLD:Uyes} != "no"
 ALL_TARGET+=   all-gold
 INSTALL_TARGET+=install-gold