From: Thomas Petazzoni Date: Wed, 15 Feb 2017 21:34:44 +0000 (+0100) Subject: postgresql: disable spinlocks on openrisc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ae3dce5275915a1784b00bf145af907827fed0d;p=buildroot.git 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 --- diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk index 786ef4876a..bc2bf47ee7 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