Changeset 68799 in webkit for trunk/JavaScriptCore/wscript


Ignore:
Timestamp:
Sep 30, 2010, 10:35:10 AM (15 years ago)
Author:
[email protected]
Message:

[wx] wxMSW build fix. Make sure we copy the compiler flags and remove exception handling from
the copy so as not to alter global settings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wscript

    r66078 r68799  
    7676        )
    7777       
    78     # we'll get an error if exceptions are on because of an unwind error when using __try
    7978    if building_on_win32:
    80         flags = obj.env.CXXFLAGS
    81         flags.remove('/EHsc')
    82         obj.env.CXXFLAGS = flags
     79        myenv = obj.env.copy()
     80        myenv.CXXFLAGS = myenv.CXXFLAGS[:]
     81        myenv.CXXFLAGS.remove('/EHsc')
     82        obj.env = myenv
    8383
    8484    bld.install_files(os.path.join(output_dir, 'JavaScriptCore'), 'API/*.h')
Note: See TracChangeset for help on using the changeset viewer.