From 06ea5c8f6f398710aef45c3b131c6f03690f0e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 3 Apr 2014 23:55:31 +0200 Subject: Update 'nix-upstream' sub-module. * nix-upstream: Update. * daemon.am (AM_CXXFLAGS): Add -std=c++0x. --- daemon.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'daemon.am') 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 -- cgit v1.2.3