summaryrefslogtreecommitdiffstats
path: root/tools/buildscripts/gyp_qtwebengine
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2014-09-24 17:39:45 +0200
committerAndras Becsi <andras.becsi@digia.com>2014-09-26 08:57:33 +0200
commit411e5e9e6d7b68dfae4a93ef90c042d92b7322c1 (patch)
treeedbe448267e72a11182ff590d02d16df0fda526c /tools/buildscripts/gyp_qtwebengine
parent09e08eaecf475487bff6e83e454e86316fc71106 (diff)
Prevent OS X from picking a wrong version of clang from the env
Until now we relied on the PATH to pick the right clang version on OS X which turned out to be a source of issues on build nodes that have a lot of old cruft lying around which was picked up by gyp. Set make_clang_dir so that gyp uses the configured clang version from Qt and remove the env manipulation from our gyp script. Change-Id: I4ac679ea56fa874eecaa578aad77b462445c0caa Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Diffstat (limited to 'tools/buildscripts/gyp_qtwebengine')
-rwxr-xr-xtools/buildscripts/gyp_qtwebengine7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/buildscripts/gyp_qtwebengine b/tools/buildscripts/gyp_qtwebengine
index eb44477e7..6f2bbc936 100755
--- a/tools/buildscripts/gyp_qtwebengine
+++ b/tools/buildscripts/gyp_qtwebengine
@@ -9,7 +9,6 @@ print 'using python: ' + sys.executable + ' version: ' + sys.version
if sys.platform == "darwin":
print 'xcode version: ' + subprocess.check_output(['xcodebuild', '-version']).replace('\n', ' ')
- print 'clang++ version: ' + subprocess.check_output(['clang++', '--version']).replace('\n', ' ')
qtwebengine_root = os.path.normcase(os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')))
import qtwebengine_utils as utils
@@ -87,12 +86,6 @@ if __name__ == '__main__':
if 'qt_cross_compile=1' in sys.argv:
os.environ['GYP_CROSSCOMPILE'] = '1'
- # On Mac we want to override CXX and CC that is provided with
- # the Chromium GYP environment.
- if sys.platform.startswith('darwin') and not 'GYP_CROSSCOMPILE' in os.environ:
- os.environ['CXX'] = 'clang++'
- os.environ['CC'] = 'clang'
-
gyp_helper.apply_chromium_gyp_env()
# This could give false positives since it doesn't actually do real option