diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 1993-10-08 21:12:35 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1993-10-08 21:12:35 +0000 |
commit | 1bf3a36e4d67104b22a2775f15df925dbea58451 (patch) | |
tree | 4e6a6df077fa3ebb0d1642986e36695de2c03d2c /gcc/config/i386/osfelf.h | |
parent | e2381a6f75a3644353d8f1cc47c64b09a21c67ef (diff) | |
download | gcc-1bf3a36e4d67104b22a2775f15df925dbea58451.zip gcc-1bf3a36e4d67104b22a2775f15df925dbea58451.tar.gz gcc-1bf3a36e4d67104b22a2775f15df925dbea58451.tar.bz2 |
define __SHARED__ for shared libraries.
From-SVN: r5686
Diffstat (limited to 'gcc/config/i386/osfelf.h')
-rw-r--r-- | gcc/config/i386/osfelf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/i386/osfelf.h b/gcc/config/i386/osfelf.h index 79fac93..1ec981a 100644 --- a/gcc/config/i386/osfelf.h +++ b/gcc/config/i386/osfelf.h @@ -25,7 +25,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef CPP_SPEC #define CPP_SPEC "\ -%{mrose: -D__ROSE__} %{!mrose: -D__ELF__} \ +%{mrose: -D__ROSE__ %{!pic-none: -D__SHARED__}} \ +%{!mrose: -D__ELF__ %{fpic: -D__SHARED__}} \ %{mno-underscores: -D__NO_UNDERSCORES__} \ %{!mrose: %{!munderscores: -D__NO_UNDERSCORES__}} \ %{.S: %{!ansi:%{!traditional:%{!traditional-cpp:%{!ftraditional: -traditional}}}}} \ |