From: Paul Floyd Date: Sat, 22 Apr 2023 07:37:25 +0000 (+0200) Subject: regtest: add C++11 flag to build of user_histo1.cpp X-Git-Tag: VALGRIND_3_21_0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b93737876f443709ee0cec81627fe1186f44862;p=thirdparty%2Fvalgrind.git regtest: add C++11 flag to build of user_histo1.cpp For old compilers that don't default to C++11 or later --- diff --git a/dhat/tests/Makefile.am b/dhat/tests/Makefile.am index 818cc10d08..aba7f06fdf 100644 --- a/dhat/tests/Makefile.am +++ b/dhat/tests/Makefile.am @@ -37,3 +37,4 @@ big_CFLAGS = $(AM_CFLAGS) -Wno-unused-result copy_CFLAGS = $(AM_CFLAGS) -fno-builtin user_histo1_SOURCES = user_histo1.cpp +user_histo1_CXXFLAGS = $(AM_CXXFLAGS) -std=c++11