Changeset 141007 in webkit


Ignore:
Timestamp:
Jan 28, 2013, 2:06:01 PM (12 years ago)
Author:
tony@chromium.org
Message:

"clang: warning: not using the clang compiler for C++ inputs" due to hard-coding of /usr/bin/clang in WebCore.gyp
https://bugs.webkit.org/show_bug.cgi?id=108089

Reviewed by Ojan Vafai.

Use gcc since older versions of clang (with Xcode 3.2) warn that they are going to use gcc anyway.
These warnings are showing up on the main Chromium waterfall too:
http://build.chromium.org/p/chromium/builders/Mac/builds/19113/steps/compile/logs/stdio

No new tests, this is a build change.

  • WebCore.gyp/WebCore.gyp:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r141005 r141007  
     12013-01-28  Tony Chang  <tony@chromium.org>
     2
     3        "clang: warning: not using the clang compiler for C++ inputs" due to hard-coding of /usr/bin/clang in WebCore.gyp
     4        https://bugs.webkit.org/show_bug.cgi?id=108089
     5
     6        Reviewed by Ojan Vafai.
     7
     8        Use gcc since older versions of clang (with Xcode 3.2) warn that they are going to use gcc anyway.
     9        These warnings are showing up on the main Chromium waterfall too:
     10        http://build.chromium.org/p/chromium/builders/Mac/builds/19113/steps/compile/logs/stdio
     11
     12        No new tests, this is a build change.
     13
     14        * WebCore.gyp/WebCore.gyp:
     15
    1162013-01-28  Elliott Sprehn  <esprehn@chromium.org>
    217
  • trunk/Source/WebCore/WebCore.gyp/WebCore.gyp

    r140925 r141007  
    241241        'bison_exe': 'bison',
    242242
    243         'conditions': [
    244           # We specify a preprocess so it happens locally and won't get distributed to goma.
    245           ['OS=="mac" or OS=="ios"', {
    246             'preprocessor': '--preprocessor "/usr/bin/clang -E -P -x c++"'
    247           },{
    248             'preprocessor': '--preprocessor "/usr/bin/gcc -E -P -x c++"'
    249           }]
    250         ],
     243        # We specify a preprocess so it happens locally and won't get distributed to goma.
     244        # FIXME: /usr/bin/gcc won't exist on OSX forever. We want to use /usr/bin/clang once we require Xcode 4.x.
     245        'preprocessor': '--preprocessor "/usr/bin/gcc -E -P -x c++"'
    251246      }],
    252247      ['use_x11==1 or OS=="android"', {
Note: See TracChangeset for help on using the changeset viewer.