summary refs log tree commit diff
path: root/daemon.am
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.am')
-rw-r--r--daemon.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/daemon.am b/daemon.am
index 9d6516ae6c..eecfea1c7e 100644
--- a/daemon.am
+++ b/daemon.am
@@ -25,8 +25,8 @@ CLEANFILES += $(BUILT_SOURCES)
 
 noinst_LIBRARIES = libformat.a libutil.a libstore.a
 
-# Use '-std=c++0x' for 'std::shared_ptr'.
-AM_CXXFLAGS = -Wall -std=c++0x
+# Use '-std=c++11' for 'std::shared_ptr', 'auto', lambdas, and more.
+AM_CXXFLAGS = -Wall -std=c++11
 
 libformat_a_SOURCES =				\
   nix/boost/format/free_funcs.cc		\
@@ -112,7 +112,8 @@ libstore_a_CPPFLAGS =				\
   -DNIX_CONF_DIR=\"$(sysconfdir)/guix\"		\
   -DNIX_LIBEXEC_DIR=\"$(libexecdir)\"		\
   -DNIX_BIN_DIR=\"$(bindir)\"			\
-  -DOPENSSL_PATH="\"guix-authenticate\""
+  -DOPENSSL_PATH="\"guix-authenticate\""	\
+  -DDEFAULT_CHROOT_DIRS="\"\""
 
 libstore_a_CXXFLAGS = $(AM_CXXFLAGS)		\
   $(SQLITE3_CFLAGS) $(LIBGCRYPT_CFLAGS)
@@ -125,6 +126,7 @@ guix_daemon_SOURCES =				\
   nix/nix-daemon/guix-daemon.cc
 
 guix_daemon_CPPFLAGS =				\
+  -DLOCALEDIR=\"$(localedir)\"			\
   $(libutil_a_CPPFLAGS)				\
   -I$(top_srcdir)/nix/libstore