package/git: make _BUG_ condition more clear
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Thu, 27 Feb 2020 11:18:54 +0000 (12:18 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 27 Feb 2020 21:12:40 +0000 (22:12 +0100)
As pointed by Peter combined condition of the 2 gcc bugs is potentially
wrong, but as Thomas pointed in this case it's not harmful. Let's fix it
anyway since it's basically wrong even it doesn't cause harm.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/git/git.mk

index f32a2f8eb9c0f75b8d4c8b08af1f85e3c5990d6c..dd79c41e4af2976ea67b499361610bc96d0930ab 100644 (file)
@@ -67,7 +67,7 @@ endif
 
 GIT_CFLAGS = $(TARGET_CFLAGS)
 
-ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180)$(BR2_TOOLCHAIN_HAS_GCC_BUG_93847),y)
+ifneq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180)$(BR2_TOOLCHAIN_HAS_GCC_BUG_93847),)
 GIT_CFLAGS += -O0
 endif