diff options
Diffstat (limited to 'gcc/config/sparc/linux64.h')
| -rw-r--r-- | gcc/config/sparc/linux64.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index daf1653..0b91659 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -30,6 +30,11 @@ Boston, MA 02111-1307, USA. */ builtin_assert ("system=linux"); \ builtin_assert ("system=unix"); \ builtin_assert ("system=posix"); \ + if (flag_pic) \ + { \ + builtin_define ("__PIC__"); \ + builtin_define ("__pic__"); \ + } \ } \ while (0) @@ -127,7 +132,6 @@ Boston, MA 02111-1307, USA. */ #undef CPP_SUBTARGET_SPEC #define CPP_SUBTARGET_SPEC "\ -%{fPIC|fpic|fPIE|fpie:-D__PIC__ -D__pic__} \ %{posix:-D_POSIX_SOURCE} \ %{pthread:-D_REENTRANT} \ " |
