diff options
author | Jonathan Gray | 2003-07-28 11:46:32 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-07-28 11:46:32 +0000 |
commit | deef4a53144be30c2a8b6792e9f34c2387e7ff13 (patch) | |
tree | cb53fb15aedefaff20793a20b535cf6cad510c17 | |
parent | c1cbd4605e6a3ae3a28462cdb30482454e1b6da0 (diff) | |
download | scummvm-rg350-deef4a53144be30c2a8b6792e9f34c2387e7ff13.tar.gz scummvm-rg350-deef4a53144be30c2a8b6792e9f34c2387e7ff13.tar.bz2 scummvm-rg350-deef4a53144be30c2a8b6792e9f34c2387e7ff13.zip |
correct cflags variables
svn-id: r9241
-rw-r--r-- | Makefile.new | 3 | ||||
-rwxr-xr-x | configure | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/Makefile.new b/Makefile.new index cb0014dbdb..6e01833ab1 100644 --- a/Makefile.new +++ b/Makefile.new @@ -17,7 +17,6 @@ CP := cp # Default compilation parameters. Normally don't edit these # ####################################################################### -CXXFLAGS:= -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas DEFINES := -DHAVE_CONFIG_H LDFLAGS := INCLUDES:= -I. -Icommon @@ -30,7 +29,7 @@ include config.mak # Uncomment this for stricter compile time code verification # CXXFLAGS+= -Wshadow -Werror -CXXFLAGS += $(OPTFLAGS) +CXXFLAGS:= -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas $(CXXFLAGS) ####################################################################### # Misc stuff - you should normally never have to edit this # @@ -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 |