Changeset 29986 in webkit
- Timestamp:
- Feb 4, 2008 7:25:59 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r29961 r29986 1 2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com> 2 3 Reviewed by Alp Toker and Mark Rowe. 4 5 Fix http://bugs.webkit.org/show_bug.cgi?id=17175. 6 Bug 17175: Use of C++ compiler flags in CFLAGS 7 8 Add global_cxxflags definition for inclusion in CXXFLAGS variables. 9 Only use -fno-rtti and $(SYMBOL_VISIBILITY_INLINES) with global_cxxflags as gcc complains they aren't valid for C. 10 11 * GNUmakefile.am: 12 1 13 2008-02-04 Alp Toker <alp@atoker.com> 2 14 -
trunk/GNUmakefile.am
r29961 r29986 22 22 # global_cppflags = CPPFLAGS that apply to JSC, WebCore, and to any 23 23 # specific port 24 # global_cflags = CFLAGS and CXXFLAGSthat apply to JSC, WebCore, and to24 # global_cflags = CFLAGS that apply to JSC, WebCore, and to 25 25 # any specific port 26 # global_cxxflags = CXXFLAGS that apply to JSC, WebCore, and to any 27 # specific port 26 28 27 29 srcdir = @srcdir@ … … 62 64 -Wformat -Wformat-security -Wno-format-y2k -Wundef \ 63 65 -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \ 64 -Wno-unused-parameter $(SYMBOL_VISIBILITY_INLINES) 66 -Wno-unused-parameter 67 68 global_cxxflags := \ 69 $(SYMBOL_VISIBILITY_INLINES) 65 70 66 71 if !ENABLE_DEBUG 67 72 global_cflags += \ 68 -fno- rtti -fno-exceptions \73 -fno-exceptions \ 69 74 $(SYMBOL_VISIBILITY) 75 76 global_cxxflags += \ 77 -fno-rtti 70 78 endif 71 79 … … 97 105 libJavaScriptCore_la_LDFLAGS = $(ICU_LIBS) -lpthread 98 106 99 libJavaScriptCore_la_CXXFLAGS = $(global_c flags) -fstrict-aliasing107 libJavaScriptCore_la_CXXFLAGS = $(global_cxxflags) $(global_cflags) -fstrict-aliasing 100 108 101 109 libJavaScriptCore_la_CFLAGS = $(global_cflags) -fstrict-aliasing … … 140 148 libWebKitGtk_la_CXXFLAGS = \ 141 149 -fno-strict-aliasing \ 150 $(global_cxxflags) \ 142 151 $(global_cflags) \ 143 152 $(DEPENDENCIES_CFLAGS) \ -
trunk/JavaScriptCore/ChangeLog
r29961 r29986 1 2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com> 2 3 Reviewed by Alp Toker and Mark Rowe. 4 5 Fix http://bugs.webkit.org/show_bug.cgi?id=17175. 6 Bug 17175: Use of C++ compiler flags in CFLAGS 7 8 * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS. 9 1 10 2008-02-04 Alp Toker <alp@atoker.com> 2 11 … … 18 27 putting things into the back/forward cache. If that's true, then this 19 28 should fix the problem. 20 29 21 30 (According to Geoff's measurements, in a PLT that exaggerates the 22 31 importance of symbol table saving during cached page creation, this -
trunk/JavaScriptCore/GNUmakefile.am
r29961 r29986 150 150 JavaScriptCore/API/minidom.c 151 151 Programs_minidom_CPPFLAGS = $(global_cppflags) 152 Programs_minidom_CXXFLAGS = $(global_c flags)152 Programs_minidom_CXXFLAGS = $(global_cxxflags) $(global_cflags) 153 153 Programs_minidom_LDADD = libJavaScriptCore.la 154 154 Programs_minidom_LDFLAGS = -rpath $(CURDIR)/.libs … … 157 157 Programs_testkjs_SOURCES = JavaScriptCore/kjs/testkjs.cpp 158 158 Programs_testkjs_CPPFLAGS = $(global_cppflags) 159 Programs_testkjs_CXXFLAGS = $(global_c flags)159 Programs_testkjs_CXXFLAGS = $(global_cxxflags) $(global_cflags) 160 160 Programs_testkjs_LDADD = libJavaScriptCore.la 161 161 Programs_testkjs_LDFLAGS = -rpath $(CURDIR)/.libs -
trunk/WebKitTools/ChangeLog
r29963 r29986 1 2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com> 2 3 Reviewed by Alp Toker and Mark Rowe. 4 5 Fix http://bugs.webkit.org/show_bug.cgi?id=17175. 6 Bug 17175: Use of C++ compiler flags in CFLAGS 7 8 * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS. 9 1 10 2008-02-04 Darin Adler <darin@apple.com> 2 11 -
trunk/WebKitTools/GNUmakefile.am
r29961 r29986 40 40 Programs_DumpRenderTree_CXXFLAGS = \ 41 41 $(DEPENDENCIES_CFLAGS) \ 42 $(global_cxxflags) \ 42 43 $(global_cflags) 43 44
Note: See TracChangeset
for help on using the changeset viewer.