summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-14 15:04:45 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-14 15:04:45 +0000
commit3176d9f2c62e10a78ab41edcf0dd68cf753d7528 (patch)
tree289086be524121766710d5a544ddc6765bbbd2b6 /config
parentf75073207e9f3649bb0d1f948fa7bc0d4723016e (diff)
downloadgcc-3176d9f2c62e10a78ab41edcf0dd68cf753d7528.tar.gz
Add the missing file
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222093 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r--config/bootstrap-mpx.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/bootstrap-mpx.mk b/config/bootstrap-mpx.mk
new file mode 100644
index 00000000000..acc2a2e7a9c
--- /dev/null
+++ b/config/bootstrap-mpx.mk
@@ -0,0 +1,9 @@
+# This option enables -fcheck-pointer-bounds -mmpx for stage2 and stage3.
+
+STAGE2_CFLAGS += -fcheck-pointer-bounds -mmpx -frandom-seed=1
+STAGE3_CFLAGS += -fcheck-pointer-bounds -mmpx -frandom-seed=1
+POSTSTAGE1_LDFLAGS += -fcheck-pointer-bounds -mmpx -frandom-seed=1 \
+ -static-libmpx -static-libmpxwrappers \
+ -B$$r/prev-$(TARGET_SUBDIR)/libmpx \
+ -B$$r/prev-$(TARGET_SUBDIR)/libmpx/mpxrt/.libs \
+ -B$$r/prev-$(TARGET_SUBDIR)/libmpx/mpxwrap/.libs