mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 04:31:21 +00: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_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/
|
||||
|
||||
Reference in New Issue
Block a user