X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Futils%2FMakefile.am;h=a353557c1883e7445248b46738c17c4c34619409;hp=bc8d716b57cbdb74144ea1d84a0a4af41de49875;hb=980a7dfbbca1af55d8631063e739416eef595f88;hpb=ad32c0736a971f74cbf5e750c6cae90320ec2589;ds=sidebyside diff --git a/lustre/utils/Makefile.am b/lustre/utils/Makefile.am index bc8d716..a353557 100644 --- a/lustre/utils/Makefile.am +++ b/lustre/utils/Makefile.am @@ -5,7 +5,7 @@ SUBDIRS = gss endif AM_CFLAGS=$(LLCFLAGS) -AM_CPPFLAGS=$(LLCPPFLAGS) -DLUSTRE_UTILS=1 +AM_CPPFLAGS=$(LLCPPFLAGS) -DLUSTRE_UTILS=1 -D_FILE_OFFSET_BITS=64 AM_LDFLAGS := -L$(top_builddir)/lnet/utils LIBPTLCTL := $(top_builddir)/lnet/utils/libptlctl.a \ @@ -124,6 +124,7 @@ llog_reader_DEPENDENCIES := $(LIBPTLCTL) lr_reader_SOURCES = lr_reader.c mount_lustre_SOURCES = mount_lustre.c mount_utils.c mount_utils.h +mount_lustre_CPPFLAGS = $(AM_CPPFLAGS) mount_lustre_LDADD := $(LIBPTLCTL) mount_lustre_DEPENDENCIES := $(LIBPTLCTL) if LDISKFS_ENABLED @@ -131,7 +132,7 @@ mount_lustre_SOURCES += mount_utils_ldiskfs.c endif if ZFS_ENABLED mount_lustre_SOURCES += mount_utils_zfs.c -mount_lustre_CPPFLAGS = -DHAVE_IOCTL_IN_UNISTD_H +mount_lustre_CPPFLAGS += -DHAVE_IOCTL_IN_UNISTD_H mount_lustre_CPPFLAGS += $(EXTRA_LIBZFS_INCLUDE) mount_lustre_LDFLAGS = -pthread -rdynamic -ldl endif