trasmission: add -D_GNU_SOURCE to CFLAGS
authorGabor Juhos <juhosg@openwrt.org>
Sat, 4 Dec 2010 21:14:51 +0000 (21:14 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 4 Dec 2010 21:14:51 +0000 (21:14 +0000)
_GNU_SOURCE must be defined in order to automatically use p{read,write}64
instead of p{read,write}.

SVN-Revision: 24248

net/transmission/Makefile

index 8b9fa55..63f501b 100644 (file)
@@ -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