diff options
author | Max Horn | 2006-04-15 00:12:14 +0000 |
---|---|---|
committer | Max Horn | 2006-04-15 00:12:14 +0000 |
commit | 0bad4c701eca214c6c9863a57b1a3557c67d7b91 (patch) | |
tree | 4138df34b6f9f92c7b2e7e6a42eea2d6978696c0 /Makefile | |
parent | 04709491f77c84108b371b15bb5b9797e0e0c1a2 (diff) | |
download | scummvm-rg350-0bad4c701eca214c6c9863a57b1a3557c67d7b91.tar.gz scummvm-rg350-0bad4c701eca214c6c9863a57b1a3557c67d7b91.tar.bz2 scummvm-rg350-0bad4c701eca214c6c9863a57b1a3557c67d7b91.zip |
Disable RTTI and exceptions (we don't use 'em and over here it saves 700kb in the executable)
svn-id: r21895
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -24,7 +24,10 @@ CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas # Even more warnings... CXXFLAGS+= -pedantic -Wpointer-arith -Wcast-qual -Wconversion CXXFLAGS+= -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor -CXXFLAGS+= -Wno-reorder -Wwrite-strings -fcheck-new +CXXFLAGS+= -Wno-reorder -Wwrite-strings + +# Disable RTTI and exceptions, and enabled checking of pointers returned by "new" +CXXFLAGS+= -fno-rtti -fno-exceptions -fcheck-new ####################################################################### # Misc stuff - you should never have to edit this # |