about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-03-01 08:08:53 -0800
committerAlex Crichton <alex@alexcrichton.com>2017-03-01 08:08:53 -0800
commit55dab70f7af6af31616165554e2f4b6c5679f381 (patch)
tree77a9fd75f345dc8654fcf78bb54370b0ed08d088
parente77f8568f67b6dc265a620f7506a6f931c3a002e (diff)
downloadrust-55dab70f7af6af31616165554e2f4b6c5679f381.tar.gz
rust-55dab70f7af6af31616165554e2f4b6c5679f381.zip
Don't run test on darwin
-rw-r--r--src/test/run-make/fpic/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/test/run-make/fpic/Makefile b/src/test/run-make/fpic/Makefile
index da69c83eb37..6de58c2db18 100644
--- a/src/test/run-make/fpic/Makefile
+++ b/src/test/run-make/fpic/Makefile
@@ -1,9 +1,13 @@
 -include ../tools.mk
 
-# Test for #39529. 
+# Test for #39529.
 # `-z text` causes ld to error if there are any non-PIC sections
 
+ifeq ($(UNAME),Darwin)
+all:
+else ifdef IS_WINDOWS
+all:
+else
 all:
-ifndef IS_WINDOWS
 	$(RUSTC) hello.rs -C link-args=-Wl,-z,text
 endif