[SERVER-8466] The --clang build flag should be eliminated in favor of accurately detecting what compiler is in use. Created: 07/Feb/13  Updated: 11/Jul/16  Resolved: 16/Mar/13

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.4.0-rc0
Fix Version/s: 2.5.0

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: c++11
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-8465 SCons should honor CC and CXX from th... Closed
related to SERVER-8467 Official support for building with clang Closed
Participants:

 Description   

We currently have an 'experimental' --clang flag, which is intended to enable building with clang, and which interacts with the --cc and --cxx flags in non-obvious ways.

We should deprecate this flag in favor of detecting whether the compiler that has been selected is in fact clang or not and taking whatever action is necessary to build correctly with clang.



 Comments   
Comment by auto [ 16/Mar/13 ]

Author:

{u'date': u'2013-03-01T20:45:15Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-8466 SERVER-8467 Clang support and autodetection
Branch: master
https://github.com/mongodb/mongo/commit/054ac98b9adc35cf945c5831f3b8fb764ff600ff

Generated at Thu Feb 08 03:17:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.