2015-01-19 18:41:28 +01:00
|
|
|
diff --git a/src/test/run-make/relocation-model/Makefile b/src/test/run-make/relocation-model/Makefile
|
2015-12-24 00:21:35 +01:00
|
|
|
index b22f34f..c6489bd 100644
|
2015-01-19 18:41:28 +01:00
|
|
|
--- a/src/test/run-make/relocation-model/Makefile
|
|
|
|
+++ b/src/test/run-make/relocation-model/Makefile
|
2015-12-24 00:21:35 +01:00
|
|
|
@@ -2,9 +2,11 @@
|
|
|
|
|
|
|
|
all: others
|
|
|
|
$(RUSTC) -C relocation-model=dynamic-no-pic foo.rs
|
|
|
|
+ paxctl -czexm $(TMPDIR)/foo
|
2015-01-19 18:41:28 +01:00
|
|
|
$(call RUN,foo)
|
|
|
|
|
|
|
|
$(RUSTC) -C relocation-model=default foo.rs
|
|
|
|
+ paxctl -czexm $(TMPDIR)/foo
|
|
|
|
$(call RUN,foo)
|
|
|
|
|
2015-12-24 00:21:35 +01:00
|
|
|
$(RUSTC) -C relocation-model=default --crate-type=dylib foo.rs
|
|
|
|
@@ -16,6 +18,7 @@ others:
|
|
|
|
else
|
|
|
|
others:
|
2015-01-19 18:41:28 +01:00
|
|
|
$(RUSTC) -C relocation-model=static foo.rs
|
|
|
|
+ paxctl -czexm $(TMPDIR)/foo
|
|
|
|
$(call RUN,foo)
|
2015-12-24 00:21:35 +01:00
|
|
|
$(RUSTC) -C relocation-model=static --crate-type=dylib foo.rs
|
|
|
|
endif
|