diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2015-03-23 20:23:30 +0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-05-06 21:36:55 +0200 |
commit | 257a2393d0696ae6897f171e1e4ca66aee3892a9 (patch) | |
tree | e7e04f3fe8c306f93d396125a9c4b026a11921d8 /package/postgresql/postgresql.mk | |
parent | efc9efe47efed53fb0b031fe4756a5267a95f455 (diff) | |
download | buildroot-257a2393d0696ae6897f171e1e4ca66aee3892a9.tar.gz buildroot-257a2393d0696ae6897f171e1e4ca66aee3892a9.zip |
package/postgresql: fix pthread flags detection
PostgreSQL configure may not correctly determine flags for compiling and
linking with pthreads support when compiler or linker give irrelevant
warnings.
Record default compiler and linker output and see if adding pthread
option changes that, instead of assuming that linker and compiler are
silent by default.
Fixes:
http://autobuild.buildroot.net/results/916487aae929c181d4e3f471c6c7508552f0b683/
http://autobuild.buildroot.net/results/921a94d1a489d81b362c5b6a403a156b4691effd/
http://autobuild.buildroot.net/results/dbcdc58ad32b7b811ea47b6fc0f926a477e30786/
http://autobuild.buildroot.net/results/68b582f4caec223a646f095487263353f273156d/
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/postgresql/postgresql.mk')
-rw-r--r-- | package/postgresql/postgresql.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk index 85ac0e6da9..1a6aa88028 100644 --- a/package/postgresql/postgresql.mk +++ b/package/postgresql/postgresql.mk @@ -12,6 +12,7 @@ POSTGRESQL_LICENSE_FILES = COPYRIGHT POSTGRESQL_INSTALL_STAGING = YES POSTGRESQL_CONFIG_SCRIPTS = pg_config POSTGRESQL_CONF_ENV = ac_cv_type_struct_sockaddr_in6=yes +POSTGRESQL_AUTORECONF = YES ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) # PostgreSQL does not build against uClibc with locales |