package/postgresql: can't be built with BR2_OPTIMIZE_FAST

postgresql can't be built with BR2_OPTIMIZE_FAST:

configure: error: do not put -ffast-math in CFLAGS

Fixes:
 - http://autobuild.buildroot.org/results/106bb61bcff5d03e44d3e2e9149c76e6705606a5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2022-04-19 21:32:15 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 5c7f712c48
commit e702a05d89
9 changed files with 37 additions and 0 deletions

View File

@ -36,6 +36,7 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL
bool "enable postgresql log target support"
depends on !BR2_STATIC_LIBS
depends on BR2_USE_WCHAR # postgresql
depends on !BR2_OPTIMIZE_FAST # postgresql
select BR2_PACKAGE_POSTGRESQL
help
Enable support for logging the bandwidthd data to a remote
@ -46,6 +47,9 @@ config BR2_PACKAGE_BANDWIDTHD_POSTGRESQL
comment "postgresql support needs a toolchain w/ dynamic library, wchar"
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
comment "postgresql support can't be built with Optimize for fast"
depends on !BR2_OPTIMIZE_FAST
config BR2_PACKAGE_BANDWIDTHD_SQLITE3
bool "enable sqlite3 log storage"
select BR2_PACKAGE_SQLITE

View File

@ -475,6 +475,7 @@ config BR2_PACKAGE_COLLECTD_PING
config BR2_PACKAGE_COLLECTD_POSTGRESQL
bool "postgresql"
depends on BR2_USE_WCHAR # postgresql
depends on !BR2_OPTIMIZE_FAST # postgresql
select BR2_PACKAGE_POSTGRESQL
help
Connects to and executes SQL statements on a PostgreSQL
@ -485,6 +486,9 @@ config BR2_PACKAGE_COLLECTD_POSTGRESQL
comment "postgresql support needs a toolchain w/ wchar"
depends on !BR2_USE_WCHAR
comment "postgresql support can't be built with Optimize for fast"
depends on !BR2_OPTIMIZE_FAST
config BR2_PACKAGE_COLLECTD_PROCESSES
bool "processes"
help

View File

@ -93,6 +93,7 @@ config BR2_PACKAGE_LIGHTTPD_PGSQL
bool "pgsql support"
depends on BR2_USE_MMU # postgresql
depends on BR2_USE_WCHAR # postgresql
depends on !BR2_OPTIMIZE_FAST # postgresql
select BR2_PACKAGE_POSTGRESQL
help
Enable postgres support for lighttpd mod_vhostdb_pgsql.
@ -101,6 +102,9 @@ comment "pgsql support needs a toolchain w/ wchar"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR
comment "pgsql support can't be built with Optimize for fast"
depends on !BR2_OPTIMIZE_FAST
config BR2_PACKAGE_LIGHTTPD_WEBDAV
bool "webdav support"
select BR2_PACKAGE_LIBXML2

View File

@ -141,6 +141,7 @@ config BR2_PACKAGE_PHP_EXT_PGSQL
depends on BR2_USE_MMU # postgresql
depends on !BR2_STATIC_LIBS
depends on BR2_USE_WCHAR # postgresql
depends on !BR2_OPTIMIZE_FAST # postgresql
select BR2_PACKAGE_POSTGRESQL
help
PostgreSQL support
@ -149,6 +150,9 @@ comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
comment "PostgreSQL extension can't be built with Optimize for fast"
depends on !BR2_OPTIMIZE_FAST
config BR2_PACKAGE_PHP_EXT_SQLITE
bool "SQLite3"
select BR2_PACKAGE_SQLITE
@ -172,6 +176,7 @@ config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL
depends on BR2_USE_MMU # postgresql
depends on !BR2_STATIC_LIBS
depends on BR2_USE_WCHAR # postgresql
depends on !BR2_OPTIMIZE_FAST # postgresql
select BR2_PACKAGE_POSTGRESQL
help
PDO driver for PostgreSQL
@ -180,6 +185,9 @@ comment "PostgreSQL drivers need a toolchain w/ wchar, dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
comment "PostgreSQL drivers can't be built with Optimize for fast"
depends on !BR2_OPTIMIZE_FAST
config BR2_PACKAGE_PHP_EXT_PDO_SQLITE
bool "SQLite3"
select BR2_PACKAGE_SQLITE

View File

@ -52,9 +52,13 @@ config BR2_PACKAGE_POCO_DATA_MYSQL
config BR2_PACKAGE_POCO_DATA_PGSQL
bool "Data/PostgreSQL"
depends on BR2_USE_MMU # postgresql
depends on !BR2_OPTIMIZE_FAST # postgresql
select BR2_PACKAGE_POCO_DATA
select BR2_PACKAGE_POSTGRESQL
comment "Data/PostgreSQL can't be built with Optimize for fast"
depends on !BR2_OPTIMIZE_FAST
config BR2_PACKAGE_POCO_DATA_SQLITE
bool "Data/SQLite"
select BR2_PACKAGE_POCO_DATA

View File

@ -6,6 +6,7 @@ config BR2_PACKAGE_POSTGRESQL
# postgresql is unlikely to be used in a pure statically
# linked environment.
depends on !BR2_STATIC_LIBS
depends on !BR2_OPTIMIZE_FAST
select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL
select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
@ -34,3 +35,6 @@ endif
comment "postgresql needs a toolchain w/ dynamic library, wchar"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
comment "postgresql can't be built with Optimize for fast"
depends on !BR2_OPTIMIZE_FAST

View File

@ -1,6 +1,7 @@
config BR2_PACKAGE_PYTHON_PSYCOPG2
bool "python-psycopg2"
depends on BR2_USE_WCHAR # postgresql
depends on !BR2_OPTIMIZE_FAST # postgresql
select BR2_PACKAGE_POSTGRESQL
help
Psycopg is the most popular PostgreSQL database adapter for
@ -24,3 +25,6 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2
comment "python-psycopg2 needs a toolchain w/ wchar"
depends on !BR2_USE_WCHAR
comment "python-psycopg2 can't be built with Optimize for fast"
depends on !BR2_OPTIMIZE_FAST

View File

@ -74,6 +74,7 @@ config BR2_PACKAGE_QT5BASE_PSQL
depends on BR2_USE_MMU # postgresql
depends on !BR2_STATIC_LIBS
depends on BR2_USE_WCHAR # postgresql
depends on !BR2_OPTIMIZE_FAST # postgresql
select BR2_PACKAGE_POSTGRESQL
help
Build PostgreSQL plugin
@ -83,6 +84,9 @@ comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
comment "PostgreSQL plugin can't be built with Optimize for fast"
depends on !BR2_OPTIMIZE_FAST
choice
prompt "SQLite 3 support"
default BR2_PACKAGE_QT5BASE_SQLITE_NONE

View File

@ -45,6 +45,7 @@ config BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL
bool "postgresql"
depends on BR2_USE_WCHAR # postgresql
depends on !BR2_STATIC_LIBS # postgresql
depends on !BR2_OPTIMIZE_FAST # postgresql
select BR2_PACKAGE_POSTGRESQL
endchoice