[Buildroot] [git commit] gcc/libmudflap: unavailable for gcc >= 4.9

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jun 7 21:43:47 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=4a692aefee10088c385d30e829abf80af1616d1b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Rework gcc dependency for mudflap as suggested by Arnout and Peter:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/149813

libmudflap was removed in gcc 4.9:
https://gcc.gnu.org/wiki/Mudflap_Pointer_Debugging

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/gcc/Config.in.host | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 17de65c..3180071 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -151,9 +151,7 @@ config BR2_GCC_ENABLE_LIBMUDFLAP
 	# There are architectures, or specific configurations for
 	# which mudflap is not supported.
 	depends on !BR2_ARM_INSTRUCTIONS_THUMB && !BR2_powerpc_SPE
-	depends on !BR2_GCC_VERSION_4_9_X
-	depends on !BR2_GCC_VERSION_5_X
-	depends on !BR2_GCC_VERSION_6_X
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 	help
 	  libmudflap is a gcc library used for the mudflap pointer
 	  debugging functionality. It is only needed if you intend to


More information about the buildroot mailing list