[libvirt] [dbus PATCH 08/15] src: Make CFLAGS and LDFLAGS global
Pavel Hrdina
phrdina at redhat.com
Fri Jun 29 17:02:32 UTC 2018
On Fri, Jun 29, 2018 at 06:01:15PM +0200, Andrea Bolognani wrote:
> There's nothing target-specific about either. This is
> going to be useful later on.
>
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
> src/Makefile.am | 35 ++++++++++++++++-------------------
> 1 file changed, 16 insertions(+), 19 deletions(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 688dfb5..1b73c8d 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -1,6 +1,22 @@
> AM_CPPFLAGS = \
> -I$(top_srcdir)/src \
> -DVIRT_DBUS_INTERFACES_DIR=\"$(DBUS_INTERFACES_DIR)\"
> +AM_CFLAGS = \
> + $(GIO2_CFLAGS) \
> + $(GLIB2_CFLAGS) \
> + $(LIBVIRT_CFLAGS) \
> + $(LIBVIRT_GLIB_CFLAGS) \
> + $(WARN_CFLAGS) \
> + $(PIE_CFLAGS) \
> + $(NULL)
> +AM_LDFLAGS = \
> + $(GIO2_LDFLAGS) \
> + $(GLIB2_LDFLAGS) \
> + $(LIBVIRT_LDFLAGS) \
> + $(LIBVIRT_GLIB_LDFLAGS) \
> + $(RELRO_LDFLAGS) \
> + $(PID_LDFLAGS) \
s/PID/PIE/
Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180629/ba93aae3/attachment-0001.sig>
More information about the libvir-list
mailing list