diff options
Diffstat (limited to 'gcc/config/alpha/linux.h')
| -rw-r--r-- | gcc/config/alpha/linux.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/alpha/linux.h b/gcc/config/alpha/linux.h index e9a0e90..a64529f 100644 --- a/gcc/config/alpha/linux.h +++ b/gcc/config/alpha/linux.h @@ -36,6 +36,11 @@ Boston, MA 02111-1307, USA. */ /* The GNU C++ standard library requires this. */ \ if (c_dialect_cxx ()) \ builtin_define ("_GNU_SOURCE"); \ + if (flag_pic) \ + { \ + builtin_define ("__PIC__"); \ + builtin_define ("__pic__"); \ + } \ } while (0) #undef LIB_SPEC |
