comparison configure @ 1465:9401d021b47b 3.0-integration

Some copyright dates and build adjustments
author Chris Cannam
date Tue, 03 Jan 2017 16:14:31 +0000
parents 2067e2c92cc8
children add46e759c27
comparison
equal deleted inserted replaced
1464:cb41b2184622 1465:9401d021b47b
4415 esac 4415 esac
4416 4416
4417 4417
4418 4418
4419 SV_DEFINES_DEBUG="-DDEBUG -DBUILD_DEBUG -DWANT_TIMING" 4419 SV_DEFINES_DEBUG="-DDEBUG -DBUILD_DEBUG -DWANT_TIMING"
4420 SV_DEFINES_RELEASE="-DNDEBUG -DBUILD_RELEASE -DWANT_TIMING" # -DNO_TIMING" 4420 SV_DEFINES_RELEASE="-DNDEBUG -DBUILD_RELEASE -DNO_TIMING"
4421 SV_DEFINES_MINIMAL="$SV_DEFINES_RELEASE" 4421 SV_DEFINES_MINIMAL="$SV_DEFINES_RELEASE"
4422 4422
4423 # Now we have: USER_CXXFLAGS contains any flags the user set 4423 # Now we have: USER_CXXFLAGS contains any flags the user set
4424 # explicitly; AUTOCONF_CXXFLAGS contains flags that Autoconf thought 4424 # explicitly; AUTOCONF_CXXFLAGS contains flags that Autoconf thought
4425 # we should use. If we have GCC, we override the latter but then 4425 # we should use. If we have GCC, we override the latter but then
4430 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" 4430 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS"
4431 4431
4432 if test "x$GCC" = "xyes"; then 4432 if test "x$GCC" = "xyes"; then
4433 CXXFLAGS_ANY="-Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" 4433 CXXFLAGS_ANY="-Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe"
4434 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -Werror" 4434 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -Werror"
4435 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2" 4435 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O3 -ffast-math"
4436 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" 4436 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0"
4437 fi 4437 fi
4438 4438
4439 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" 4439 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE"
4440 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" 4440 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE"