trasmission: add -D_GNU_SOURCE to CFLAGS
_GNU_SOURCE must be defined in order to automatically use p{read,write}64 instead of p{read,write}. git-svn-id: svn://svn.openwrt.org/openwrt/packages@24248 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5d96791901
commit
7471cffd24
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=transmission
|
||||
PKG_VERSION:=2.12
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://mirrors.m0k.org/transmission/files
|
||||
@ -84,7 +84,7 @@ CONFIGURE_ARGS += \
|
||||
--enable-largefile
|
||||
|
||||
MAKE_FLAGS += \
|
||||
CFLAGS="$(TARGET_CFLAGS)"
|
||||
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
||||
|
||||
define Package/transmission-daemon/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user