diff mbox

[3/5] Use FPIE_OR_FPIC_SPEC in CRIS_ASM_SUBTARGET_SPEC

Message ID 20150508173705.GB21810@intel.com
State New
Headers show

Commit Message

H.J. Lu May 8, 2015, 5:37 p.m. UTC
OK for trunk?


H.J.

	* config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Use
	FPIE_OR_FPIC_SPEC.
---
 gcc/config/cris/linux.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/gcc/config/cris/linux.h b/gcc/config/cris/linux.h
index bd57986..262aac5 100644
--- a/gcc/config/cris/linux.h
+++ b/gcc/config/cris/linux.h
@@ -79,13 +79,13 @@  along with GCC; see the file COPYING3.  If not see
  "--em=criself \
   %{!march=*:%{!mcpu=*:--march=v32}} \
   %{!fleading-underscore:--no-underscore}\
-  %{fPIC|fpic|fPIE|fpie: --pic}"
+  %{" FPIE_OR_FPIC_SPEC ": --pic}"
 #else
 # define CRIS_ASM_SUBTARGET_SPEC \
  "--em=criself \
   %{!march=*:%{!mcpu=*:--march=v10}} \
   %{!fleading-underscore:--no-underscore}\
-  %{fPIC|fpic|fPIE|fpie: --pic}"
+  %{" FPIE_OR_FPIC_SPEC ": --pic}"
 #endif
 
 /* Previously controlled by target_flags.  */