mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 17:04:32 +04:00
unixodbc: compile as gnu11
Fixes compilation with GCC15. Properly fixing this is too convoluted. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Tianling Shen
parent
9bb8db08d0
commit
8f0f27e24f
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=unixodbc
|
PKG_NAME:=unixodbc
|
||||||
PKG_VERSION:=2.3.12
|
PKG_VERSION:=2.3.12
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=unixODBC-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=unixODBC-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.unixodbc.org
|
PKG_SOURCE_URL:=http://www.unixodbc.org
|
||||||
@@ -143,6 +143,8 @@ $(call Package/unixodbc/Default/description)
|
|||||||
This package provides the PostgreSQL driver for ODBC.
|
This package provides the PostgreSQL driver for ODBC.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
TARGET_CFLAGS += -std=gnu11
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
|
||||||
|
|||||||
Reference in New Issue
Block a user