summaryrefslogtreecommitdiffstats
path: root/booster
diff options
context:
space:
mode:
authorPavan Sondur <pavan@gluster.com>2009-09-30 05:47:49 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-01 03:32:23 -0700
commit820b88c3389b59dce190e6846703c267d7113a63 (patch)
treefcc7ae95c2bf99027a3cd57a517a86fe523ec4df /booster
parent572fb95127a37c3bf45a60083ad247064d634085 (diff)
Make changes such that glusterfs builds with Werror and fix LONG_LONG_MAX definition.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 289 (glusterfs does not build with Werror) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=289
Diffstat (limited to 'booster')
-rw-r--r--booster/src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/booster/src/Makefile.am b/booster/src/Makefile.am
index 7ecbcd225..d7d83abf5 100644
--- a/booster/src/Makefile.am
+++ b/booster/src/Makefile.am
@@ -3,11 +3,11 @@ ldpreloaddir = $(libdir)/glusterfs
noinst_HEADERS = booster_fstab.h booster-fd.h
libglusterfs_booster_la_SOURCES = booster.c booster_stat.c booster_fstab.c booster-fd.c
libglusterfs_booster_la_CFLAGS = -I$(top_srcdir)/libglusterfsclient/src/ -D_GNU_SOURCE -D$(GF_HOST_OS) -fPIC -Wall \
- -pthread $(GF_BOOSTER_CFLAGS) -shared -nostartfiles
+ -pthread $(GF_BOOSTER_CFLAGS) -shared -nostartfiles
libglusterfs_booster_la_CPPFLAGS = -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE \
-I$(top_srcdir)/libglusterfsclient/src \
-I$(top_srcdir)/libglusterfs/src -DDATADIR=\"$(localstatedir)\" \
- -DCONFDIR=\"$(sysconfdir)/glusterfs\"
+ -DCONFDIR=\"$(sysconfdir)/glusterfs\" $(ARGP_STANDALONE_CPPFLAGS)
libglusterfs_booster_la_LDFLAGS = -module -avoidversion
libglusterfs_booster_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(top_builddir)/libglusterfsclient/src/libglusterfsclient.la