summaryrefslogtreecommitdiffstats
path: root/package/quota/quota.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-10 11:42:44 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-14 23:00:23 +0100
commit96bdfdf08a88e190c8e36ec4112a09f5f7c07e89 (patch)
treea2916655b19e651b350164cce20ad925efa81df2 /package/quota/quota.mk
parentaca0d2a1af44acb610d4f23ceafda482590a3011 (diff)
downloadbuildroot-novena-96bdfdf08a88e190c8e36ec4112a09f5f7c07e89.tar.gz
buildroot-novena-96bdfdf08a88e190c8e36ec4112a09f5f7c07e89.zip
quota: allow usage of getrpcbynumber() instead of getrpcbynumber_r()
libtirpc does not implement the reentrant function getrpcbynumber_r(), so allow quota to use the non-reentrant version getrpcbynumber(). This should not be a problem as quota tools are not multi-threaded. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/quota/quota.mk')
-rw-r--r--package/quota/quota.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/quota/quota.mk b/package/quota/quota.mk
index 701905964..899dfddf8 100644
--- a/package/quota/quota.mk
+++ b/package/quota/quota.mk
@@ -8,6 +8,8 @@ QUOTA_VERSION = 4.00
QUOTA_SOURCE = quota-$(QUOTA_VERSION).tar.gz
QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
+QUOTA_AUTORECONF = YES
+
QUOTA_CFLAGS = $(TARGET_CFLAGS)
QUOTA_LDFLAGS = $(TARGET_LDFLAGS)
@@ -23,6 +25,8 @@ QUOTA_LDFLAGS += -ltirpc
endif
QUOTA_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(QUOTA_CFLAGS) -D_GNU_SOURCE" LDFLAGS="$(QUOTA_LDFLAGS)"
+QUOTA_CONF_ENV = \
+ CFLAGS="$(QUOTA_CFLAGS) -D_GNU_SOURCE" LDFLAGS="$(QUOTA_LDFLAGS)"
# Package uses autoconf but not automake.
QUOTA_INSTALL_TARGET_OPT = \