aboutsummaryrefslogtreecommitdiff
path: root/daemon.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-04-03 23:55:31 +0200
committerLudovic Courtès <ludo@gnu.org>2014-04-03 23:55:51 +0200
commit06ea5c8f6f398710aef45c3b131c6f03690f0e4c (patch)
treeec410e4ec21acf6f68d2bb3dcca24b326b318227 /daemon.am
parent4743a4da9b49d16b62c66e9f1e6094394e3e655b (diff)
downloadpatches-06ea5c8f6f398710aef45c3b131c6f03690f0e4c.tar
patches-06ea5c8f6f398710aef45c3b131c6f03690f0e4c.tar.gz
Update 'nix-upstream' sub-module.
* nix-upstream: Update. * daemon.am (AM_CXXFLAGS): Add -std=c++0x.
Diffstat (limited to 'daemon.am')
-rw-r--r--daemon.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/daemon.am b/daemon.am
index abb785592d..079f8d3fbd 100644
--- a/daemon.am
+++ b/daemon.am
@@ -25,7 +25,8 @@ CLEANFILES += $(BUILT_SOURCES)
noinst_LIBRARIES = libformat.a libutil.a libstore.a
-AM_CXXFLAGS = -Wall
+# Use '-std=c++0x' for 'std::shared_ptr'.
+AM_CXXFLAGS = -Wall -std=c++0x
libformat_a_SOURCES = \
nix/boost/format/free_funcs.cc \
@@ -119,7 +120,7 @@ libstore_a_CPPFLAGS = \
-DNIX_BIN_DIR=\"$(bindir)\" \
-DOPENSSL_PATH="\"guix-authenticate\""
-libstore_a_CXXFLAGS = \
+libstore_a_CXXFLAGS = $(AM_CXXFLAGS) \
$(SQLITE3_CFLAGS) $(LIBGCRYPT_CFLAGS)
bin_PROGRAMS = guix-daemon