diff mbox

[1/1] gcc/libmudflap: unavailable for gcc >= 4.9

Message ID 1465058756-9612-1-git-send-email-bernd.kuhls@t-online.de
State Accepted
Headers show

Commit Message

Bernd Kuhls June 4, 2016, 4:45 p.m. UTC
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@t-online.de>
---
 package/gcc/Config.in.host | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Thomas Petazzoni June 7, 2016, 9:44 p.m. UTC | #1
Hello,

On Sat,  4 Jun 2016 18:45:56 +0200, Bernd Kuhls wrote:
> 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@t-online.de>
> ---
>  package/gcc/Config.in.host | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Applied to master, thanks. We will be able to remove mudflap support
when gcc 4.8 gets deprecated.

Thomas
diff mbox

Patch

diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index cfb0958..529f8da 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