]> git.lizzy.rs Git - rust.git/commitdiff
Don't use -Z prefer-dynamic at stage0
authorAlex Crichton <alex@alexcrichton.com>
Tue, 11 Feb 2014 07:06:37 +0000 (23:06 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 11 Feb 2014 07:06:37 +0000 (23:06 -0800)
This is blocking a snapshot because the stage0 target compiler comes from a
stage1 host compiler. This means that the stage0 compiler doesn't actually
understand the -Z prefer-dynamic flag and is dying as a result.

This will get added back to stage0 after a snapshot.

Makefile.in

index 2d4c5e858a747bc7e895067238bee9e026292339..d0a7c5402e83cf20d18cfabf08cefa13bf00f298 100644 (file)
@@ -140,7 +140,8 @@ endif
 # snapshot will be generated with a statically linked rustc so we only have to
 # worry about the distribution of one file (with its native dynamic
 # dependencies)
-RUSTFLAGS_STAGE0 += -Z prefer-dynamic
+#
+# NOTE: after a snapshot (stage0), put this on stage0 as well
 RUSTFLAGS_STAGE1 += -C prefer-dynamic
 
 # platform-specific auto-configuration