aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
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