gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] [PATCH 2/6] api/src: add missing GF_CFLAGS


From: Jan Engelhardt
Subject: [Gluster-devel] [PATCH 2/6] api/src: add missing GF_CFLAGS
Date: Mon, 24 Sep 2012 07:16:44 +0200

GF_CFLAGS seems missing in two spots.

In one of those, adding it to libgfapi_la_CFLAGS would make it equal
to AM_CFLAGS, so remove libgfapi_la_CFLAGS there.

Signed-off-by: Jan Engelhardt <address@hidden>
---
 api/src/Makefile.am                           |    1 -
 xlators/features/marker/utils/src/Makefile.am |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/api/src/Makefile.am b/api/src/Makefile.am
index a63ed5e..f7651d5 100644
--- a/api/src/Makefile.am
+++ b/api/src/Makefile.am
@@ -4,7 +4,6 @@ libgfapi_HEADERS = glfs.h
 libgfapidir = $(includedir)/glusterfs/api
 
 libgfapi_la_SOURCES = glfs.c glfs-mgmt.c glfs-fops.c glfs-resolve.c
-libgfapi_la_CFLAGS = -fPIC -Wall
 libgfapi_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
        $(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
        $(top_builddir)/rpc/xdr/src/libgfxdr.la \
diff --git a/xlators/features/marker/utils/src/Makefile.am 
b/xlators/features/marker/utils/src/Makefile.am
index 1203f73..6ebbb68 100644
--- a/xlators/features/marker/utils/src/Makefile.am
+++ b/xlators/features/marker/utils/src/Makefile.am
@@ -10,7 +10,7 @@ gsyncd_LDFLAGS = $(GF_LDFLAGS) $(GF_GLUSTERFS_LDFLAGS)
 
 noinst_HEADERS = procdiggy.h
 
-AM_CFLAGS = -fPIC -Wall
+AM_CFLAGS = -fPIC -Wall $(GF_CFLAGS)
 
 AM_CPPFLAGS = -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D$(GF_HOST_OS) \
        -I$(top_srcdir)/libglusterfs/src \
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]