diff options
| author | Graydon Hoare <[email protected]> | 2011-05-03 18:09:18 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-05-03 18:14:02 -0700 |
| commit | 846068046d34bf95b4346843d1302c63efd3f19f (patch) | |
| tree | e7825673b554e6cdf1c54ee323949d47f5a46715 /mk | |
| parent | rustc: Stub support for Rust intrinsics (diff) | |
| download | rust-846068046d34bf95b4346843d1302c63efd3f19f.tar.xz rust-846068046d34bf95b4346843d1302c63efd3f19f.zip | |
Fix bug in CFG_TESTLIB that only manifests on stage1, stage2.
Diffstat (limited to 'mk')
| -rw-r--r-- | mk/platform.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/platform.mk b/mk/platform.mk index ecf486f7..c4016c42 100644 --- a/mk/platform.mk +++ b/mk/platform.mk @@ -1,3 +1,4 @@ + CFG_GCC_CFLAGS := -fno-strict-aliasing CFG_GCC_LINK_FLAGS := @@ -61,11 +62,11 @@ CFG_LDPATH :=$(CFG_BUILD_DIR)/rt CFG_LDPATH :=$(CFG_LDPATH):$(CFG_BUILD_DIR)/rustllvm CFG_TESTLIB=$(CFG_BUILD_DIR)/$(strip \ $(if $(findstring stage0,$(1)), \ - stage1 \ + stage1, \ $(if $(findstring stage1,$(1)), \ - stage2 \ + stage2, \ $(if $(findstring stage2,$(1)),\ - stage3 \ + stage3, \ )))) ifdef CFG_WINDOWSY |