Skip to contentSkip to conversation

package/git: make _BUG_ condition more clear

PATCH New Giulio Benetti 2 participants 2 messages Feb 27, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/git: make _BUG_ condition more clear

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.

---
 package/git/git.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/git/git.mk +1 -1
index f32a2f8eb9..dd79c41e4a 100644
@@ -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
 
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/git: make _BUG_ condition more clear

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard