X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=libsysio%2FMakefile.am;h=dfa4f9ebfca47ceb9fe467b89b71a3654737c907;hb=1eb51eb43389f48d5e35878f57b6a59d22e9e361;hp=11e6e3d9db4522a701c40964ac048d265989b431;hpb=b8292c00324fbe9a25910ce53d03569186ea3e2c;p=fs%2Flustre-release.git diff --git a/libsysio/Makefile.am b/libsysio/Makefile.am index 11e6e3d..dfa4f9e 100644 --- a/libsysio/Makefile.am +++ b/libsysio/Makefile.am @@ -48,16 +48,14 @@ OPTIONAL_YOD_SRCS = endif if WITH_LUSTRE_HACK -OPTIONAL_LUSTRE_SRCDIR_SRCS = $(LUSTRE_SRCDIR_SRCS) # it would be better that let configure script check this -AM_CFLAGS = -fPIC -else -OPTIONAL_LUSTRE_SRCDIR_SRCS = +OPTIONAL_LUSTRE_CFLAGS = -fPIC endif +AM_CFLAGS = $(OPTIONAL_LUSTRE_CFLAGS) + __LIBBUILD_DIR__libsysio_a_SOURCES = \ $(SRCDIR_SRCS) \ - $(OPTIONAL_LUSTRE_SRCDIR_SRCS) \ $(OPTIONAL_STDFD_SRCS) \ $(OPTIONAL_INCORE_SRCS) \ $(OPTIONAL_SOCKETS_SRCS) \