mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
avrdude: fix musl compatibility
- Build with -D_GNU_SOURCE to expose "loff_t" required for libelf.h - Include sys/types.h before usb.h to provide missing u_int*_t types Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=avrdude
|
||||
PKG_VERSION:=6.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/avrdude
|
||||
@@ -40,6 +40,9 @@ CONFIGURE_ARGS+= \
|
||||
--disable-doc \
|
||||
--disable-parport \
|
||||
|
||||
TARGET_CFLAGS+= \
|
||||
-D_GNU_SOURCE \
|
||||
|
||||
define Package/avrdude/conffiles
|
||||
/etc/avrdude.conf
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user