summaryrefslogtreecommitdiffstats
path: root/package/postgresql
diff options
context:
space:
mode:
Diffstat (limited to 'package/postgresql')
-rw-r--r--package/postgresql/Config.in1
-rw-r--r--package/postgresql/postgresql.mk7
2 files changed, 2 insertions, 6 deletions
diff --git a/package/postgresql/Config.in b/package/postgresql/Config.in
index 519b2a17a1..4c53703568 100644
--- a/package/postgresql/Config.in
+++ b/package/postgresql/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_POSTGRESQL
bool "postgresql"
+ depends on BR2_USE_MMU # fork()
help
PostgreSQL is a powerful, open source object-relational
database system.
diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk
index d426093a30..7dc3f0bf02 100644
--- a/package/postgresql/postgresql.mk
+++ b/package/postgresql/postgresql.mk
@@ -13,11 +13,6 @@ POSTGRESQL_LICENSE_FILES = COPYRIGHT
POSTGRESQL_INSTALL_STAGING = YES
POSTGRESQL_CONFIG_SCRIPTS = pg_config
-# In most cases, postgresql configure script is able to guess the
-# platform, except for noMMU platforms that use the 'uclinux' host
-# qualifier, as is the case on Blackfin
-POSTGRESQL_CONF_OPTS = --with-template=linux
-
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
# overwrite IPV6 detection
ifeq ($(BR2_INET_IPV6),y)
@@ -36,7 +31,7 @@ ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
POSTGRESQL_CONF_OPTS += --disable-thread-safety
endif
-ifeq ($(BR2_bfin)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_nios2)$(BR2_xtensa),y)
+ifeq ($(BR2_microblazeel)$(BR2_microblazebe)$(BR2_nios2)$(BR2_xtensa),y)
POSTGRESQL_CONF_OPTS += --disable-spinlocks
endif
OpenPOWER on IntegriCloud