diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-28 21:59:45 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-28 21:59:45 +0200 |
commit | e17bed6d75bdcdfd949e84217143096bd626ec95 (patch) | |
tree | 5dc4887de9a990de1431d7a3e0288be9164a96a4 /Makefile.am | |
parent | c103f471beb239ed12e26ac5d95cc8cb3034feca (diff) | |
download | dabmod-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
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
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 \ |