postgresql: fix build for ARC arch
authorSebastian Kemper <sebastian_ml@gmx.net>
Mon, 19 Mar 2018 22:51:04 +0000 (23:51 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Mon, 19 Mar 2018 22:54:56 +0000 (23:54 +0100)
commitbe07e031d04e5cab26856f1b5b5c2572f34ebb7b
treeae7bed6b0a7c5786d524e4ed4ce7be246909c1d8
parent74d15bdb9832e7cc2c47930d84c042d0e54a7d81
postgresql: fix build for ARC arch

When building for ARC the compile fails with:

  /var/lib/buildbot/slaves/dave-builder/arc_arc700/build/sdk/build_dir/target-arc_arc700_uClibc/postgresql-9.6.5/src/include/storage/s_lock.h:899:2: error: #error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to pgsql-bugs@postgresql.org.
   #error PostgreSQL does not have native spinlock support on this platform.  To continue the compilation, rerun configure using --disable-spinlocks.  However, performance will be poor.  Please report this to pgsql-bugs@postgresql.org.

So disable spinlocks when compiling for this arch. This was done
likewise for the avr32 target, which is not supported anymore, so this
can be deleted.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libs/postgresql/Makefile