postgresql: disable spinlock support for microblaze (el/be)
authorPeter Seiderer <ps.report@gmx.net>
Thu, 15 May 2014 16:42:11 +0000 (18:42 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 16 May 2014 07:54:23 +0000 (09:54 +0200)
Fixes:
  http://autobuild.buildroot.org/results/686/6860988c9edb62d0d32cc6b0bd6af4f35ca0e343/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/postgresql/postgresql.mk

index 2606e25e7f32b88d641a9486eaa417fdabf59e9b..b3317379e0987f8547637d0ce6dbdb501a0a3ca2 100644 (file)
@@ -14,6 +14,10 @@ ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
        POSTGRESQL_CONF_OPT += --disable-thread-safety
 endif
 
+ifeq ($(BR2_microblazeel)$(BR2_microblazebe),y)
+       POSTGRESQL_CONF_OPT += --disable-spinlocks
+endif
+
 ifeq ($(BR2_PACKAGE_READLINE),y)
        POSTGRESQL_DEPENDENCIES += readline
 else