postgresql: disable spinlock for xtensa
authorBaruch Siach <baruch@tkos.co.il>
Mon, 16 Mar 2015 19:55:11 +0000 (21:55 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 16 Mar 2015 21:00:14 +0000 (22:00 +0100)
Fixes:
http://autobuild.buildroot.net/results/fbf/fbf601af8b194effcad21a431ca447cb69c2bbd9/
http://autobuild.buildroot.net/results/822/822bd05bcb7384c671bfe13125db3a818982781a/
http://autobuild.buildroot.net/results/4ae/4ae938730a74f2be0f74fef8a99622f8f42742af/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/postgresql/postgresql.mk

index 7ebf79530f622a0c27b2db3134bd018541d201e4..7dc3f0bf029e54d0688f80303388e10d80a8b290 100644 (file)
@@ -31,7 +31,7 @@ ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
        POSTGRESQL_CONF_OPTS += --disable-thread-safety
 endif
 
-ifeq ($(BR2_microblazeel)$(BR2_microblazebe)$(BR2_nios2),y)
+ifeq ($(BR2_microblazeel)$(BR2_microblazebe)$(BR2_nios2)$(BR2_xtensa),y)
        POSTGRESQL_CONF_OPTS += --disable-spinlocks
 endif