diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-08-28 10:29:10 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-08-28 10:29:10 +0000 |
commit | 67c753df325ac2e6016fb4625daa32e82dfde2e1 (patch) | |
tree | 65525d978c0c048096f8a2159197b3af8a29d578 /gnu/egcs | |
parent | 5cd5794b070c1d3e34441c54d10bf4ce4a0d2695 (diff) |
-fPIC and -fpic for m68k
ok miod@ deraadt@
Diffstat (limited to 'gnu/egcs')
-rw-r--r-- | gnu/egcs/gcc/config/m68k/openbsd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/config/m68k/openbsd.h b/gnu/egcs/gcc/config/m68k/openbsd.h index 9ff048ede34..9af29205e18 100644 --- a/gnu/egcs/gcc/config/m68k/openbsd.h +++ b/gnu/egcs/gcc/config/m68k/openbsd.h @@ -32,7 +32,9 @@ Boston, MA 02111-1307, USA. */ /* Define __HAVE_68881__ in preprocessor, unless -msoft-float is specified. This will control the use of inline 68881 insns in certain macros. */ #undef CPP_SPEC -#define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__ -D__HAVE_FPU__} %{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" +#define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__ -D__HAVE_FPU__} \ + %{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT} \ + %{fPIC:-D__PIC__} %{fpic:-D__PIC__}" /* Run-time target specifications */ #define CPP_PREDEFINES "-D__unix__ -D__m68k__ -D__mc68000__ -D__mc68020__ -D__OpenBSD__ -Asystem(unix) -Asystem(OpenBSD) -Acpu(m68k) -Amachine(m68k)" |