diff options
author | ienkovich <ienkovich@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-22 16:24:28 +0000 |
---|---|---|
committer | ienkovich <ienkovich@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-22 16:24:28 +0000 |
commit | 78f81ee8212e835653a828ac7249de7691a9c491 (patch) | |
tree | d413164109d71cbd6f537b578cf9fc01f155fb39 /gcc/config/i386/linux-common.h | |
parent | 7794f2c99944dccd10a2e835f4489beebe469597 (diff) | |
download | gcc-78f81ee8212e835653a828ac7249de7691a9c491.tar.gz |
PR driver/66737
* config/i386/linux-common.h (MPX_SPEC): Use linker option
for 64bit target only.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226076 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/linux-common.h')
-rw-r--r-- | gcc/config/i386/linux-common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/i386/linux-common.h b/gcc/config/i386/linux-common.h index 63dd8d87152..7617490a119 100644 --- a/gcc/config/i386/linux-common.h +++ b/gcc/config/i386/linux-common.h @@ -71,8 +71,12 @@ along with GCC; see the file COPYING3. If not see #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 |