summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-28 21:59:45 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-28 21:59:45 +0200
commite17bed6d75bdcdfd949e84217143096bd626ec95 (patch)
tree5dc4887de9a990de1431d7a3e0288be9164a96a4
parentc103f471beb239ed12e26ac5d95cc8cb3034feca (diff)
downloaddabmod-e17bed6d75bdcdfd949e84217143096bd626ec95.tar.gz
dabmod-e17bed6d75bdcdfd949e84217143096bd626ec95.tar.bz2
dabmod-e17bed6d75bdcdfd949e84217143096bd626ec95.zip
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
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
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 \