Jelajahi Sumber

package/postgresql: work around gcc bug 43744

Package postgresql suffers from gcc bug 43744 other than 85180, so let's
work around disabling compiler optimization for this gcc bug too.

Fixes:
http://autobuild.buildroot.net/results/cf272cdc5be2faf4070de3d235ec7a0f7190867a

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 3def0679e3a424983354346eb517bbaa07b905df)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Giulio Benetti 2 tahun lalu
induk
melakukan
39d4aaf32f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      package/postgresql/postgresql.mk

+ 1 - 1
package/postgresql/postgresql.mk

@@ -101,7 +101,7 @@ endif
 
 POSTGRESQL_CFLAGS = $(TARGET_CFLAGS)
 
-ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
+ifneq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_43744)$(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),)
 POSTGRESQL_CFLAGS += -O0
 endif