aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-03-30 14:29:29 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-03-30 15:30:19 +0200
commite322a16523c3c0644a900453abbe32bd0fd982e3 (patch)
tree08aca5dc6758db7909e9b80fcb00a85e7ff066cb /src/libstore
parenteb1911e277bfcc1b161cb996205ae1696f496099 (diff)
Remove global -I flags
(cherry picked from commit 2c692a3b144523bca68dd6de618124ba6c9bb332)
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/local.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk
index ac68c2342..91acef368 100644
--- a/src/libstore/local.mk
+++ b/src/libstore/local.mk
@@ -31,7 +31,8 @@ ifeq ($(HAVE_SECCOMP), 1)
libstore_LDFLAGS += -lseccomp
endif
-libstore_CXXFLAGS = \
+libstore_CXXFLAGS += \
+ -I src/libutil -I src/libstore \
-DNIX_PREFIX=\"$(prefix)\" \
-DNIX_STORE_DIR=\"$(storedir)\" \
-DNIX_DATA_DIR=\"$(datadir)\" \