diff options
author | Mark Wielaard <mjw@redhat.com> | 2016-12-09 09:31:58 +0100 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2016-12-09 11:35:38 +0200 |
commit | 3d4db6f99f086711d2865a2a19639e417a97a21c (patch) | |
tree | 18c52a053bd62d47333d988dff6163424eb2cc11 /plugins | |
parent | 4e6583fe23b372829108ad0b4f8d9beaff5600bd (diff) | |
download | rpm-3d4db6f99f086711d2865a2a19639e417a97a21c.tar.gz |
Define AM_CFLAGS inside the Makefile.am files themselves.
Trying to include AM_CFLAGS through a configure generated rpm.am file
doesn't really work because at the time automake runs configure doesn't
exist yet to process rpm.am.in. Just define the AM_CFLAGS substitution
inside the Makefile.am files themselves.
Rename rpm.am.in back to rpm.am.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 5ddc174bf..98eb154d2 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -1,6 +1,7 @@ # Makefile for rpm library. include $(top_srcdir)/rpm.am +AM_CFLAGS = @RPMCFLAGS@ AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/ AM_CPPFLAGS += -I$(top_srcdir)/misc |