summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-15 21:34:44 (GMT)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-15 21:34:44 (GMT)
commit8ae3dce5275915a1784b00bf145af907827fed0d (patch)
tree6be30c7645ca8cfce16a890f202b1e9a05064965
parentbfbd42fd1c5ddc374bd26fea29cc1ac819101fc7 (diff)
downloadbuildroot-8ae3dce5275915a1784b00bf145af907827fed0d.tar.gz
buildroot-8ae3dce5275915a1784b00bf145af907827fed0d.tar.bz2
postgresql: disable spinlocks on openrisc
Just like all non-mainstream architectures, postgresql doesn't provide its internal spinlock implementation on OpenRISC, so disable it. Fixes: http://autobuild.buildroot.net/results/e9de750e34f10c4a2403696936260ad1547d0d15/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/postgresql/postgresql.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk
index 786ef48..bc2bf47 100644
--- a/package/postgresql/postgresql.mk
+++ b/package/postgresql/postgresql.mk
@@ -29,7 +29,7 @@ ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
POSTGRESQL_CONF_OPTS += --disable-thread-safety
endif
-ifeq ($(BR2_arcle)$(BR2_arceb)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_nios2)$(BR2_xtensa),y)
+ifeq ($(BR2_arcle)$(BR2_arceb)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_or1k)$(BR2_nios2)$(BR2_xtensa),y)
POSTGRESQL_CONF_OPTS += --disable-spinlocks
endif