Changeset 29986 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Feb 4, 2008, 7:25:59 PM (17 years ago)
Author:
[email protected]
Message:

Fix http://bugs.webkit.org/show_bug.cgi?id=17175 (Bug 17175: Use of C++ compiler flags in CFLAGS).

Reviewed by Alp Toker and Mark Rowe.

Add global_cxxflags definition for inclusion in CXXFLAGS variables.
Only use -fno-rtti and $(SYMBOL_VISIBILITY_INLINES) with global_cxxflags as gcc complains they aren't valid for C.

Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r29961 r29986  
     12008-02-04  Rodney Dawes  <[email protected]>
     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
    1102008-02-04  Alp Toker  <[email protected]>
    211
     
    1827        putting things into the back/forward cache. If that's true, then this
    1928        should fix the problem.
    20        
     29
    2130        (According to Geoff's measurements, in a PLT that exaggerates the
    2231        importance of symbol table saving during cached page creation, this
  • trunk/JavaScriptCore/GNUmakefile.am

    r29961 r29986  
    150150        JavaScriptCore/API/minidom.c
    151151Programs_minidom_CPPFLAGS = $(global_cppflags)
    152 Programs_minidom_CXXFLAGS = $(global_cflags)
     152Programs_minidom_CXXFLAGS = $(global_cxxflags) $(global_cflags)
    153153Programs_minidom_LDADD = libJavaScriptCore.la
    154154Programs_minidom_LDFLAGS = -rpath $(CURDIR)/.libs
     
    157157Programs_testkjs_SOURCES = JavaScriptCore/kjs/testkjs.cpp
    158158Programs_testkjs_CPPFLAGS = $(global_cppflags)
    159 Programs_testkjs_CXXFLAGS = $(global_cflags)
     159Programs_testkjs_CXXFLAGS = $(global_cxxflags) $(global_cflags)
    160160Programs_testkjs_LDADD = libJavaScriptCore.la
    161161Programs_testkjs_LDFLAGS = -rpath $(CURDIR)/.libs
Note: See TracChangeset for help on using the changeset viewer.