diff options
| -rw-r--r-- | gcc/config/i386/gnu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/i386/gnu.h b/gcc/config/i386/gnu.h index 632ca47..cd32b92 100644 --- a/gcc/config/i386/gnu.h +++ b/gcc/config/i386/gnu.h @@ -14,7 +14,9 @@ -Dunix -Asystem(unix) -Asystem(posix) -D__GNU__ -Asystem(gnu)" #undef CPP_SPEC -#define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}" +#define CPP_SPEC "%(cpp_cpu) \ + %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} \ + %{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}" #undef CC1_SPEC #define CC1_SPEC "%(cc1_cpu)" |
