aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2011-05-09 16:37:23 +0200
committerMax Horn2011-05-25 13:24:38 +0200
commitc439e08590f3e340d80c0c135f412893ddc0c8d5 (patch)
tree634f24bc0ac3ede726b0ecbfe6c42f01e694a081
parentd2e778bf0b4692e957c74a7749a75d6fd5ed214d (diff)
downloadscummvm-rg350-c439e08590f3e340d80c0c135f412893ddc0c8d5.tar.gz
scummvm-rg350-c439e08590f3e340d80c0c135f412893ddc0c8d5.tar.bz2
scummvm-rg350-c439e08590f3e340d80c0c135f412893ddc0c8d5.zip
BUILD: Declare RELEASE_BUILD in DEFINES, not CXXFLAGS
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index d230d588df..16a4e4c2a2 100755
--- a/configure
+++ b/configure
@@ -1149,8 +1149,7 @@ if test "$_release_build" = yes; then
# We will also add a define, which indicates we are doing
# an build for a release version.
CXXFLAGS="$CXXFLAGS -O2 -Wuninitialized"
- # FIXME: Why is the following in CXXFLAGS and not in DEFINES? Change or document this.
- CXXFLAGS="$CXXFLAGS -DRELEASE_BUILD"
+ DEFINES="$DEFINES -DRELEASE_BUILD"
fi