changeset 529:57053d1ba746 c++11-mutex

Flag for C++ standard
author Chris Cannam
date Tue, 22 Oct 2019 12:13:36 +0100
parents db2cd87cef6f
children 6a0cd0a2bf65
files Makefile.in build/Makefile.osx
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Tue Oct 22 12:10:41 2019 +0100
+++ b/Makefile.in	Tue Oct 22 12:13:36 2019 +0100
@@ -41,7 +41,7 @@
 CC		= @CC@
 CXX		= @CXX@
 CFLAGS		= @CFLAGS@
-CXXFLAGS	= -I. @CXXFLAGS@ @SNDFILE_CFLAGS@ 
+CXXFLAGS	= -std=c++11 -I. @CXXFLAGS@ @SNDFILE_CFLAGS@ 
 
 # ar, ranlib
 #
--- a/build/Makefile.osx	Tue Oct 22 12:10:41 2019 +0100
+++ b/build/Makefile.osx	Tue Oct 22 12:13:36 2019 +0100
@@ -70,7 +70,7 @@
 # Compile flags
 #
 CFLAGS		+= $(ARCHFLAGS) -fPIC
-CXXFLAGS	+= $(ARCHFLAGS) -O2 -Wall -I. -I/usr/local/include -fPIC
+CXXFLAGS	+= $(ARCHFLAGS) -std=c++11 -O2 -Wall -I. -I/usr/local/include -fPIC
 
 # Link flags common to all link targets
 #