mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
bac3709dc1
The ld that we use for Mac builds is old (Xcode circa OS X 10.7), and also crashes in various ways when we try to use newer Rust versions and/or pass options to make the linker work with newer Rust versions. To mitigate this, let's build with a newer linker, compiled from: https://github.com/tpoechtrager/cctools-port We use this port, rather than the packages from opensource.apple.com, because the packages from Apple have decidely non-intuitive build systems, and require some hacking to get to build. This port, in contrast, is simply built with: CFLAGS='-mcpu=generic -mtune=generic' ./configure --target=x86_64-apple-darwin11 env MACOSX_DEPLOYMENT_TARGET=10.7 make and the resulting x86_64-apple-darwin11-ld is renamed as 'ld' and packaged up for automation's purposes. However, since this linker is newer, it also produces bits of Mach-O that our older build tools don't understand. Fortunately, we can pass appropriate options to the linker to turn off generation of those Mach-O bits. |
||
---|---|---|
.. | ||
app | ||
base | ||
branding | ||
components | ||
config | ||
docs | ||
experiments | ||
extensions | ||
fonts | ||
installer | ||
locales | ||
modules | ||
themes | ||
tools/mozscreenshots | ||
.eslintrc | ||
app-rules.mk | ||
app.mozbuild | ||
build.mk | ||
confvars.sh | ||
defs.mk | ||
LICENSE | ||
Makefile.in | ||
moz.build | ||
moz.configure |