Merge pull request #12272 from neheb/psql
postgresql: fix compilation with GCC4
This commit is contained in:
commit
3696553314
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=postgresql
|
PKG_NAME:=postgresql
|
||||||
PKG_VERSION:=12.1
|
PKG_VERSION:=12.1
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
||||||
PKG_LICENSE:=PostgreSQL
|
PKG_LICENSE:=PostgreSQL
|
||||||
PKG_CPE_ID:=cpe:/a:postgresql:postgresql
|
PKG_CPE_ID:=cpe:/a:postgresql:postgresql
|
||||||
|
@ -156,6 +156,8 @@ CONFIGURE_ARGS += \
|
||||||
--enable-depend \
|
--enable-depend \
|
||||||
$(if $(CONFIG_arc),--disable-spinlocks)
|
$(if $(CONFIG_arc),--disable-spinlocks)
|
||||||
|
|
||||||
|
HOST_CFLAGS += -std=gnu99
|
||||||
|
|
||||||
# Need a native zic and pg_config for build
|
# Need a native zic and pg_config for build
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
+$(HOST_MAKE_VARS) MAKELEVEL=0 $(MAKE) -C $(HOST_BUILD_DIR)/src/bin/pg_config CC="$(HOSTCC)"
|
+$(HOST_MAKE_VARS) MAKELEVEL=0 $(MAKE) -C $(HOST_BUILD_DIR)/src/bin/pg_config CC="$(HOSTCC)"
|
||||||
|
|
Loading…
Reference in a new issue