Mercurial > hg > svgui
comparison configure.ac @ 809:51da09385b38 warnfix_no_size_t
Configure stuff and fixes for -Werror
author | Chris Cannam |
---|---|
date | Wed, 18 Jun 2014 09:13:25 +0100 |
parents | 6d38e9b15a78 |
children | 899c4d7e7e63 |
comparison
equal
deleted
inserted
replaced
808:40c6c9344ff6 | 809:51da09385b38 |
---|---|
48 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" | 48 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" |
49 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" | 49 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" |
50 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" | 50 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" |
51 | 51 |
52 if test "x$GCC" = "xyes"; then | 52 if test "x$GCC" = "xyes"; then |
53 CXXFLAGS_DEBUG="-Wall -Woverloaded-virtual -Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" | 53 CXXFLAGS_DEBUG="-Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" |
54 CXXFLAGS_RELEASE="-g0 -O2 -Wall -pipe" | 54 CXXFLAGS_RELEASE="-g0 -O2 -Wall -pipe" |
55 CXXFLAGS_MINIMAL="-g0 -O0" | 55 CXXFLAGS_MINIMAL="-g0 -O0" |
56 fi | 56 fi |
57 | 57 |
58 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" | 58 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" |