trasmission: add -D_GNU_SOURCE to CFLAGS
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 4 Dec 2010 21:14:51 +0000 (21:14 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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}.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@24248 3c298f89-4303-0410-b956-a3cf2f4a3e73

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