From 8f0f27e24f855951c10a49094400abf875af128c Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 31 Jul 2025 19:09:47 -0700 Subject: [PATCH] unixodbc: compile as gnu11 Fixes compilation with GCC15. Properly fixing this is too convoluted. Signed-off-by: Rosen Penev --- libs/unixodbc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/unixodbc/Makefile b/libs/unixodbc/Makefile index e862b190dd..3244bd4620 100644 --- a/libs/unixodbc/Makefile +++ b/libs/unixodbc/Makefile @@ -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/ -- 2.30.2