From e17bed6d75bdcdfd949e84217143096bd626ec95 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 28 Oct 2016 21:59:45 +0200 Subject: Fix compilation flags settings and force std=c++11 For some reason, scan-build and other analysis tools don't set the C++11 flag --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 9e47982..4f44c64 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,7 +35,9 @@ bin_PROGRAMS = odr-dabmod FFT_LDADD= -odr_dabmod_CPPFLAGS = -Wall -Isrc \ +odr_dabmod_CXXFLAGS = -Wall -Isrc -std=c++11 \ + $(GITVERSION_FLAGS) +odr_dabmod_CFLAGS = -Wall -Isrc \ $(GITVERSION_FLAGS) odr_dabmod_LDADD = $(FFT_LDADD) odr_dabmod_SOURCES = src/DabMod.cpp \ -- cgit v1.2.3