Mercurial > hg > svapp
comparison configure.ac @ 439:9429622647e6 cxx11
c++11 flag in qmake project
author | Chris Cannam |
---|---|
date | Wed, 11 Mar 2015 12:20:06 +0000 |
parents | 72c662fe7ea3 |
children | b36042cb972a |
comparison
equal
deleted
inserted
replaced
438:7fa74786dec5 | 439:9429622647e6 |
---|---|
51 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" | 51 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" |
52 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" | 52 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" |
53 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" | 53 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" |
54 | 54 |
55 if test "x$GCC" = "xyes"; then | 55 if test "x$GCC" = "xyes"; then |
56 CXXFLAGS_ANY="-std=c++11 -Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" | 56 CXXFLAGS_ANY="-Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" |
57 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g" | 57 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g" |
58 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2" | 58 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2" |
59 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" | 59 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" |
60 fi | 60 fi |
61 | 61 |