Commit 491d9090 authored by alp@webkit.org's avatar alp@webkit.org
Browse files

2008-11-03 Alp Toker <alp@nuanti.com>

        Rubber-stamped by Holger Freyther.

        Do not enable RTTI or exceptions in debug builds, matching release
        builds. They don't help much with debugging and significantly slow
        down and increase the size of the debug build.

        * GNUmakefile.am:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c90968dc
2008-11-03 Alp Toker <alp@nuanti.com>
Rubber-stamped by Holger Freyther.
Do not enable RTTI or exceptions in debug builds, matching release
builds. They don't help much with debugging and significantly slow
down and increase the size of the debug build.
* GNUmakefile.am:
2008-11-03 Alp Toker <alp@nuanti.com> 2008-11-03 Alp Toker <alp@nuanti.com>
Rubber-stamped by Holger Freyther. Rubber-stamped by Holger Freyther.
......
...@@ -58,18 +58,16 @@ global_cflags := \ ...@@ -58,18 +58,16 @@ global_cflags := \
-Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \ -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \
-Wformat -Wformat-security -Wno-format-y2k -Wundef \ -Wformat -Wformat-security -Wno-format-y2k -Wundef \
-Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \ -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \
-Wno-unused-parameter -Wno-parentheses -Wno-unused-parameter -Wno-parentheses \
-fno-exceptions
global_cxxflags := \ global_cxxflags := \
$(SYMBOL_VISIBILITY_INLINES) $(SYMBOL_VISIBILITY_INLINES) \
-fno-rtti
if !ENABLE_DEBUG if !ENABLE_DEBUG
global_cflags += \ global_cflags += \
-fno-exceptions \
$(SYMBOL_VISIBILITY) $(SYMBOL_VISIBILITY)
global_cxxflags += \
-fno-rtti
endif endif
# -no-undefined required for building DLLs on Windows # -no-undefined required for building DLLs on Windows
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment