Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 638180
Collapse All | Expand All

(-)a/common/protocol/Makefile.am (-1 / +1 lines)
Lines 34-40 Link Here
34
# warnings here.
34
# warnings here.
35
libprotocol_la_SOURCES = guestfs_protocol.c  guestfs_protocol.h
35
libprotocol_la_SOURCES = guestfs_protocol.c  guestfs_protocol.h
36
libprotocol_la_CFLAGS = \
36
libprotocol_la_CFLAGS = \
37
	-Wall -Wno-unused -fno-strict-aliasing $(GCC_VISIBILITY_HIDDEN)
37
	-Wall -Wno-unused -fno-strict-aliasing $(GCC_VISIBILITY_HIDDEN) $(RPC_CFLAGS)
38
38
39
if HAVE_RPCGEN
39
if HAVE_RPCGEN
40
RPCGEN_DEFS =
40
RPCGEN_DEFS =
(-)a/fish/Makefile.am (-1 / +1 lines)
Lines 101-107 Link Here
101
# This convenience library is solely to compile its generated sources with
101
# This convenience library is solely to compile its generated sources with
102
# custom flags.
102
# custom flags.
103
librc_protocol_la_SOURCES = rc_protocol.c rc_protocol.h
103
librc_protocol_la_SOURCES = rc_protocol.c rc_protocol.h
104
librc_protocol_la_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing
104
librc_protocol_la_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing $(RPC_CFLAGS)
105
105
106
# Build the command lookup perfect hash code.  The generated code has
106
# Build the command lookup perfect hash code.  The generated code has
107
# lots of warnings so we must compile it in a separate mini-library.
107
# lots of warnings so we must compile it in a separate mini-library.
(-)a/localenv (+1 lines)
Line 0 Link Here
1
RPC_CFLAGS = -I/usr/include/tirpc
(-)a/daemon/Makefile.am (-1 / +2 lines)
Lines 209-215 Link Here
209
	$(HIVEX_CFLAGS) \
209
	$(HIVEX_CFLAGS) \
210
	$(SD_JOURNAL_CFLAGS) \
210
	$(SD_JOURNAL_CFLAGS) \
211
	$(YAJL_CFLAGS) \
211
	$(YAJL_CFLAGS) \
212
	$(PCRE_CFLAGS)
212
	$(PCRE_CFLAGS) \
213
	$(RPC_CFLAGS)
213
214
214
# Manual pages and HTML files for the website.
215
# Manual pages and HTML files for the website.
215
if INSTALL_DAEMON
216
if INSTALL_DAEMON
(-)a/lib/Makefile.am (-3 / +5 lines)
Lines 145-151 Link Here
145
	$(PCRE_CFLAGS) \
145
	$(PCRE_CFLAGS) \
146
	$(LIBVIRT_CFLAGS) \
146
	$(LIBVIRT_CFLAGS) \
147
	$(LIBXML2_CFLAGS) \
147
	$(LIBXML2_CFLAGS) \
148
	$(YAJL_CFLAGS)
148
	$(YAJL_CFLAGS) \
149
	$(RPC_CFLAGS)
149
150
150
libguestfs_la_LIBADD = \
151
libguestfs_la_LIBADD = \
151
	../common/errnostring/liberrnostring.la \
152
	../common/errnostring/liberrnostring.la \
Lines 194-200 Link Here
194
195
195
libvirt_is_version_CFLAGS = \
196
libvirt_is_version_CFLAGS = \
196
	$(WARN_CFLAGS) $(WERROR_CFLAGS) \
197
	$(WARN_CFLAGS) $(WERROR_CFLAGS) \
197
	$(LIBVIRT_CFLAGS)
198
	$(LIBVIRT_CFLAGS) \
199
	$(RPC_CFLAGS)
198
endif
200
endif
199
201
200
# Tests: main tests are in tests/c-api.  Here we just have some
202
# Tests: main tests are in tests/c-api.  Here we just have some
Lines 212-218 Link Here
212
	-I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
214
	-I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
213
	-I$(top_srcdir)/lib -I.
215
	-I$(top_srcdir)/lib -I.
214
unit_tests_CFLAGS = \
216
unit_tests_CFLAGS = \
215
	$(WARN_CFLAGS) $(WERROR_CFLAGS)
217
	$(WARN_CFLAGS) $(WERROR_CFLAGS) $(RPC_CFLAGS)
216
# We have to link this to libguestfs, but because we want to test
218
# We have to link this to libguestfs, but because we want to test
217
# non-exported functions we have to link with the objects not the
219
# non-exported functions we have to link with the objects not the
218
# library.
220
# library.
(-)a/fish/Makefile.am (-2 / +3 lines)
Lines 110-116 Link Here
110
	-I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
110
	-I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
111
	-I$(top_srcdir)/lib -I$(top_builddir)/lib \
111
	-I$(top_srcdir)/lib -I$(top_builddir)/lib \
112
	-I$(srcdir)/../gnulib/lib -I../gnulib/lib
112
	-I$(srcdir)/../gnulib/lib -I../gnulib/lib
113
libcmds_la_CFLAGS =
113
libcmds_la_CFLAGS = $(RPC_CFLAGS)
114
libcmds_la_LIBADD = \
114
libcmds_la_LIBADD = \
115
	$(top_builddir)/common/utils/libutils.la \
115
	$(top_builddir)/common/utils/libutils.la \
116
	$(LTLIBINTL)
116
	$(LTLIBINTL)
Lines 134-140 Link Here
134
guestfish_CFLAGS = \
134
guestfish_CFLAGS = \
135
	$(WARN_CFLAGS) $(WERROR_CFLAGS) \
135
	$(WARN_CFLAGS) $(WERROR_CFLAGS) \
136
	$(LIBCONFIG_CFLAGS) \
136
	$(LIBCONFIG_CFLAGS) \
137
	$(LIBXML2_CFLAGS)
137
	$(LIBXML2_CFLAGS) \
138
	$(RPC_CFLAGS)
138
139
139
guestfish_LDADD = \
140
guestfish_LDADD = \
140
	$(top_builddir)/common/edit/libedit.la \
141
	$(top_builddir)/common/edit/libedit.la \

Return to bug 638180