aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJonathan Gray2003-07-28 11:46:32 +0000
committerJonathan Gray2003-07-28 11:46:32 +0000
commitdeef4a53144be30c2a8b6792e9f34c2387e7ff13 (patch)
treecb53fb15aedefaff20793a20b535cf6cad510c17 /configure
parentc1cbd4605e6a3ae3a28462cdb30482454e1b6da0 (diff)
downloadscummvm-rg350-deef4a53144be30c2a8b6792e9f34c2387e7ff13.tar.gz
scummvm-rg350-deef4a53144be30c2a8b6792e9f34c2387e7ff13.tar.bz2
scummvm-rg350-deef4a53144be30c2a8b6792e9f34c2387e7ff13.zip
correct cflags variables
svn-id: r9241
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure b/configure
index 98b6b57906..55edfe7633 100755
--- a/configure
+++ b/configure
@@ -22,7 +22,6 @@
TMPO=/tmp/scummvm-conf
TMPC=${TMPO}.cpp
TMPLOG=config.log
-CFLAGS=""
# default lib behaviour yes/no/auto
_vorbis=auto
@@ -254,11 +253,11 @@ if test "$cxx_verc_fail" = yes ; then
fi
#
-# Do CFLAGS now we know the compiler version
+# Do CXXFLAGS now we know the compiler version
#
if test "$_cxx_major" -ge "3" ; then
- CFLAGS="$CFLAGS -ansi -W -Wno-unused-parameter"
+ CXXFLAGS="$CXXFLAGS -ansi -W -Wno-unused-parameter"
fi;
#
@@ -536,7 +535,7 @@ cat > config.mak << EOF
# -------- Generated by configure -----------
CXX := $CXX
-OPTFLAGS := $CFLAGS
+CXXFLAGS := $CXXFLAGS
LIBS := $LIBS
RANLIB := $_ranlib
BACKEND := $_backend