summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 91eb1541fe..a29a32a5d2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2789,6 +2789,8 @@ systemd_cat_LDADD = \
libsystemd-shared.la \
libsystemd-journal-internal.la
+journalctl_CFLAGS = $(AM_CFLAGS)
+
journalctl_SOURCES = \
src/journal/journalctl.c
@@ -2808,8 +2810,7 @@ journalctl_SOURCES += \
src/journal/journal-qrcode.c \
src/journal/journal-qrcode.h
-journalctl_CFLAGS = \
- $(AM_CFLAGS) \
+journalctl_CFLAGS += \
$(QRENCODE_CFLAGS)
journalctl_LDADD += \