Ehsan Akhgari
b7a9931db3
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
bf4448d426
Bug 1077549 - Only support gcc 4.6+. r=glandium
2015-01-08 20:21:37 -05:00
Ehsan Akhgari
42db4dcf46
Bug 1119225 - Emulate Visual C++ 2013 Update 3 when using clang-cl; r=ted
2015-01-08 10:33:21 -05:00
Ted Mielczarek
9a6971c4f8
bug 1117900 - Explicitly require Update 3 for MSVC 2013. r=glandium
2015-01-08 08:23:28 -05:00
Ehsan Akhgari
721832ff85
Bug 1117029 - Move the GCC minimum version checks to MOZ_TOOL_VARIABLES; r=glandium
2015-01-06 12:01:12 -05:00
Georg Koppen
144cfd9761
Bug 1067893 - Detect OTOOL in configure. r=glandium
2014-11-25 05:12:00 -05:00
Ehsan Akhgari
3414c53230
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
62416a2177
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
9dc77f0f7a
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
201c425d11
Backed out changeset 523ef80786ad (bug 1032528) because of build failure on a CLOSED TREE
2014-07-04 11:10:22 -04:00
Ehsan Akhgari
2843fe358e
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
d9c7b7c290
Bug 1021378 follow-up: take up my debugging stuff, and typos
2014-06-09 10:59:36 -04:00
Ehsan Akhgari
fde35aa8b8
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
80e79be833
Bug 462427 - Stop requiring CROSS_COMPILE being set. r=ted
2014-02-11 10:37:46 +09:00
Mike Hommey
af74b24a1d
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
0878bced42
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
32495789b5
Bug 895915 - Enforce host gcc/clang support for C++11. r=gps
2013-07-30 08:57:28 +09:00
Ehsan Akhgari
26880a184c
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
5f2a0e8a19
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
9283a8f0e6
Bug 840512 - Generalize toolchain.m4 to match newer Apple clang version string. r=glandium
2013-02-13 11:24:09 +01:00
Mike Hommey
4d1a776995
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
a286285ba4
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
acf9bca19f
Bug 755145 - Define CCACHE_CPP2 when using ccache and Clang. r=glandium.
2012-07-19 09:20:46 -04:00