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:
Rosen Penev
2025-07-31 19:09:47 -07:00
committed by Tianling Shen
parent 9bb8db08d0
commit 8f0f27e24f

View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=unixodbc
PKG_VERSION:=2.3.12
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=unixODBC-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.unixodbc.org
@@ -143,6 +143,8 @@ $(call Package/unixodbc/Default/description)
This package provides the PostgreSQL driver for ODBC.
endef
TARGET_CFLAGS += -std=gnu11
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/