PR driver/66737
* config/i386/linux-common.h (MPX_SPEC): Use linker option
for 64bit target only.
From-SVN: r226076
+2015-07-22 Ilya Enkovich <enkovich.gnu@gmail.com>
+
+ PR driver/66737
+ * config/i386/linux-common.h (MPX_SPEC): Use linker option
+ for 64bit target only.
+
2015-07-22 Bernd Schmidt <bernds@codesourcery.com>
* config/nvptx/nvptx.c: Expand some comments.
#endif
#ifndef MPX_SPEC
+#ifdef SPEC_64
#define MPX_SPEC "\
- %{mmpx:%{fcheck-pointer-bounds:%{!static:" LINK_MPX "}}}"
+ %{mmpx:%{fcheck-pointer-bounds:%{!static:%{" SPEC_64 ":" LINK_MPX "}}}}"
+#else
+#define MPX_SPEC ""
+#endif
#endif
#ifndef LIBMPX_SPEC