u-ignoretest-armhf_02
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Tue, 25 Jul 2017 21:19:47 +0000 (22:19 +0100)
committerXimin Luo <infinity0@debian.org>
Tue, 25 Jul 2017 21:19:47 +0000 (22:19 +0100)
Gbp-Pq: Name u-ignoretest-armhf_02.patch

src/test/run-make/relocation-model/Makefile

index 485ecbb4b5a59a60b0cad78692d977374face91d..8b3ef739221fb4a09a6fb4e82c6cf411126901ba 100644 (file)
@@ -1,17 +1,22 @@
 -include ../tools.mk
 
 all: others
+ifneq ($(filter arm,$(LLVM_COMPONENTS)),arm)
+# FIXME(#40145)
        $(RUSTC) -C relocation-model=dynamic-no-pic foo.rs
        $(call RUN,foo)
 
        $(RUSTC) -C relocation-model=default foo.rs
        $(call RUN,foo)
-
+endif
        $(RUSTC) -C relocation-model=dynamic-no-pic --crate-type=dylib foo.rs --emit=link,obj
 
 ifdef IS_MSVC
 # FIXME(#28026)
 others:
+else ifeq ($(filter arm,$(LLVM_COMPONENTS)),arm)
+# FIXME(#40145)
+others:
 else
 others:
        $(RUSTC) -C relocation-model=static foo.rs