Ehsan Akhgari
25aa741f4f
Bug 1122931 - Don't overwrite the AS variable in toolchain.m4; r=glandium
...
It looks like overwriting AS here is not intentional. Before this patch,
it is impossible to override AS through mozconfig for anything that runs
past this stage in configure.
2015-01-20 09:42:06 -05:00
Trevor Saunders
4a203db537
Bug 1077549 - Only support gcc 4.6+. r=glandium
2015-01-08 20:21:37 -05:00
Ehsan Akhgari
1eaf575fd7
Bug 1119225 - Emulate Visual C++ 2013 Update 3 when using clang-cl; r=ted
2015-01-08 10:33:21 -05:00
Ted Mielczarek
50c8cd34a0
bug 1117900 - Explicitly require Update 3 for MSVC 2013. r=glandium
2015-01-08 08:23:28 -05:00
Ehsan Akhgari
73c5fb0761
Bug 1117029 - Move the GCC minimum version checks to MOZ_TOOL_VARIABLES; r=glandium
2015-01-06 12:01:12 -05:00
Georg Koppen
a450485405
Bug 1067893 - Detect OTOOL in configure. r=glandium
2014-11-25 05:12:00 -05:00
Ehsan Akhgari
03fe99bc5c
Bug 1090512 - Emulate the clang-cl compiler version in toolchain.m4; r=glandium
...
--HG--
extra : rebase_source : 65732c6696699ffb62acb76c19133537448e6fb7
2014-10-29 12:33:32 -04:00
Mike Hommey
300662c7d5
Bug 1049510 - Fix GCC_USE_GNU_LD when building with clang on linux. r=mshal
2014-08-07 02:59:31 +09:00
Ehsan Akhgari
fd57339e41
Bug 1032528 - Use C{,PP,XX}FLAGS when determining the compiler version in case it can be affected by what is there; r=glandium
...
This for example allows us to use -fmsc-version in CFLAGS/CXXFLAGS
with clang-cl.
2014-07-04 10:43:08 -04:00
Ehsan Akhgari
2708de01f4
Backed out changeset 523ef80786ad (bug 1032528) because of build failure on a CLOSED TREE
2014-07-04 11:10:22 -04:00
Ehsan Akhgari
45e4426dac
Bug 1032528 - Use CFLAGS when determining the compiler version in case it can be affected by what is there; r=glandium
...
This for example allows us to use -fmsc-version in CFLAGS/CXXFLAGS
with clang-cl.
2014-07-04 10:43:08 -04:00
Ehsan Akhgari
6f5d813c8c
Bug 1021378 follow-up: take up my debugging stuff, and typos
2014-06-09 10:59:36 -04:00
Ehsan Akhgari
07aa9a5e86
Bug 1021378 - Add support for clang-cl to the build system; r=glandium
...
This patch does two things: 1. Treat clang on Windows explicitly as MSVC. There
are some places in our build system where we try to detect clang by looking at
the output of $(CC) -v, and that will cause us to believe that we are using
clang, which is not helpful. This patch defines the CLANG_CL variable when it
detects clang being used on Windows. It also masquarades clang-cl as MSVC
2012, which is how the compiler introduces itself through the _MSC_VER
predefined variable.
2. Disable a bunch of things which currently are not supported on clang-cl. As
we proceed with this port, hopefully we'll be able to remove everything in this
list, but this will get us closer to be able to build with clang-cl.
With this patch and clang-cl trunk, we can get past the configure stage of the
build.
--HG--
extra : rebase_source : e5b8d77e4571c936820cec858953d58b6f31e0d5
2014-06-07 10:27:43 -04:00
Mike Hommey
79c051dfc5
Bug 462427 - Stop requiring CROSS_COMPILE being set. r=ted
2014-02-11 10:37:46 +09:00
Mike Hommey
fb9eaf3a84
Bug 901149 - Add the clang workaround for __float128 to HOST_CXXFLAGS when not cross-compiling. r=ted
2013-08-06 10:08:23 +09:00
Mike Hommey
84666eea2a
Bug 900775 - Add -std=gnu++0x to HOST_CXXFLAGS when not cross-compiling. r=gps
2013-08-02 10:29:38 +09:00
Mike Hommey
c34b466603
Bug 895915 - Enforce host gcc/clang support for C++11. r=gps
2013-07-30 08:57:28 +09:00
Ehsan Akhgari
178e23b597
Bug 882766 - Recognize clang even when it doesn't #define __GNUC__; r=ted
...
Clang on Windows #defines _MSC_VER but not __GNUC__, so we need to make sure
that the build system can recognize it even when __GNUC__ is not defined.
2013-06-13 13:03:13 -04:00
Landry Breuil
78bac09dbb
Bug 842131 - Use egrep to detect clang version, fixes build without GNU grep. r=glandium
2013-02-18 10:42:22 +01:00
Felix S. Klock II
3af2c6afc5
Bug 840512 - Generalize toolchain.m4 to match newer Apple clang version string. r=glandium
2013-02-13 11:24:09 +01:00
Mike Hommey
a2be08467d
Bug 836161 - Fix gcc version test from bug 833627 to be properly quoted by m4. r=ted
2013-01-31 10:32:18 +01:00
Mike Hommey
045aa6ad61
Bug 833627 - Reject gcc < 4.4, and remove a few unused Xcode related variables. r=ted
2013-01-23 10:13:02 +01:00
Rafael Ávila de Espíndola
2ef8d511ed
Bug 755145 - Define CCACHE_CPP2 when using ccache and Clang. r=glandium.
2012-07-19 09:20:46 -04:00