From 06ea5c8f6f398710aef45c3b131c6f03690f0e4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Thu, 3 Apr 2014 23:55:31 +0200
Subject: [PATCH] Update 'nix-upstream' sub-module.

* nix-upstream: Update.
* daemon.am (AM_CXXFLAGS): Add -std=c++0x.
---
 daemon.am    | 5 +++--
 nix-upstream | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/daemon.am b/daemon.am
index abb785592dd..079f8d3fbda 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
diff --git a/nix-upstream b/nix-upstream
index 24cb65efc3c..e7720aa10a1 160000
--- a/nix-upstream
+++ b/nix-upstream
@@ -1 +1 @@
-Subproject commit 24cb65efc3c34e24fc653779a4d42cf4f31c6737
+Subproject commit e7720aa10a1da63bb15a4587837d649268944943
-- 
GitLab