summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-07-06 12:04:37 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-07-06 12:27:47 (EDT)
commit2615b187c5e446bcba965f21def342e313656201 (patch)
tree5e247ac9d6499097f7435cd6de22b2b8daa09309 /Makefile.am
parent4bc1fe19d8cb13cb0d36bf7c213dcf6839e82a46 (diff)
Deduplicate defs.h under common/
And add `-I"$(top_srcdir)/common"` to CPPFLAGS.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3a68526..2a17d38 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -52,6 +52,7 @@ opkg_opk_opkg_opk_CFLAGS = \
$(ASAN_CFLAGS)
opkg_opk_opkg_opk_CPPFLAGS = \
-DLOCALEDIR=\"$(localedir)\" \
+ -I"$(top_srcdir)/common"
$(ZLIB_CFLAGS)
opkg_opk_opkg_opk_LDADD = \
$(ASAN_CFLAGS) \
@@ -63,7 +64,8 @@ helpers_mknod_CFLAGS = \
$(WARN_CFLAGS) \
$(ASAN_CFLAGS)
helpers_mknod_CPPFLAGS = \
- -DLOCALEDIR=\"$(localedir)\"
+ -DLOCALEDIR=\"$(localedir)\" \
+ -I"$(top_srcdir)/common"
helpers_mknod_LDADD = \
$(ASAN_CFLAGS)