From 935f1e0a39af83cbb238a902c38280e824f14f45 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sep 20 2016 21:05:54 +0000 Subject: build: Ensure ostree helper inherits any global CFLAGS/LDFLAGS This is standard best practice, and may fix https://bugzilla.redhat.com/show_bug.cgi?id=1377799 --- diff --git a/Makefile.am b/Makefile.am index 656dfff..fb3953e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,8 +28,8 @@ AUTOMAKE_OPTIONS = subdir-objects ## Targets bin_PROGRAMS = src/sigul-ostree-helper src_sigul_ostree_helper_SOURCES = src/sigul-ostree-helper.c -src_sigul_ostree_helper_CFLAGS = $(libostree_CFLAGS) -src_sigul_ostree_helper_LDFLAGS = $(libostree_LIBS) +src_sigul_ostree_helper_CFLAGS = $(AM_CFLAGS) $(libostree_CFLAGS) +src_sigul_ostree_helper_LDFLAGS = $(AM_LDFLAGS) $(libostree_LIBS) bin_SCRIPTS = src/sigul dist_bin_SCRIPTS = src/sigul_setup_client sbin_SCRIPTS = src/sigul_bridge src/sigul_server src/sigul_server_add_admin \