Disable addition of "SCUMMVM_SVN_REVISION" to the version string, in case --enable-release was specified on configure run.
svn-id: r50246
This commit is contained in:
parent
e7f3ddf2db
commit
d783ca972a
3 changed files with 11 additions and 1 deletions
|
@ -2,4 +2,8 @@
|
|||
#define SCUMMVM_SVN_REVISION
|
||||
#endif
|
||||
|
||||
#ifdef RELEASE_BUILD
|
||||
#undef SCUMMVM_SVN_REVISION
|
||||
#endif
|
||||
|
||||
#define SCUMMVM_VERSION "1.2.0svn" SCUMMVM_SVN_REVISION
|
||||
|
|
|
@ -2,4 +2,8 @@
|
|||
#define SCUMMVM_SVN_REVISION
|
||||
#endif
|
||||
|
||||
#ifdef RELEASE_BUILD
|
||||
#undef SCUMMVM_SVN_REVISION
|
||||
#endif
|
||||
|
||||
#define SCUMMVM_VERSION "@VERSION@" SCUMMVM_SVN_REVISION
|
||||
|
|
4
configure
vendored
4
configure
vendored
|
@ -1042,7 +1042,9 @@ fi
|
|||
if test "$_release_build" = yes; then
|
||||
# Release mode enabled: enable optimizations. This also
|
||||
# makes it possible to use -Wuninitialized, so let's do that.
|
||||
CXXFLAGS="$CXXFLAGS -O2 -Wuninitialized"
|
||||
# We will also add a define, which indicates we are doing
|
||||
# an build for a release version.
|
||||
CXXFLAGS="$CXXFLAGS -O2 -Wuninitialized -DRELEASE_BUILD"
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue