diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-08-31 14:43:37 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-08-31 14:43:37 +0000 |
commit | 431638954e257e278ef83b2c84ab219b91691580 (patch) | |
tree | 4bbff91d9b99255b4fd75b97a425a4125fbf600e /gnu/gcc | |
parent | 6a89867db669c4b4ba8d13f46de33412c29f1b00 (diff) |
Use OBSD_LIB_SPEC and OBSD_CPP_SPEC instead of rolling our own. Means
powerpc now gets the right behaviour for -pthread as well.
ok pascal@, krw@, millert@
Diffstat (limited to 'gnu/gcc')
-rw-r--r-- | gnu/gcc/gcc/config/rs6000/sysv4.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/gcc/gcc/config/rs6000/sysv4.h b/gnu/gcc/gcc/config/rs6000/sysv4.h index fe05480440b..48c9b1f80f6 100644 --- a/gnu/gcc/gcc/config/rs6000/sysv4.h +++ b/gnu/gcc/gcc/config/rs6000/sysv4.h @@ -968,7 +968,7 @@ ncrtn.o%s" /* OpenBSD support. */ #ifndef LIB_OPENBSD_SPEC -#define LIB_OPENBSD_SPEC "%{!shared:%{pthread:-lpthread%{p:_p}%{!p:%{pg:_p}}}} %{!shared:-lc%{p:_p}%{!p:%{pg:_p}}}" +#define LIB_OPENBSD_SPEC OBSD_LIB_SPEC #endif #ifndef STARTFILE_OPENBSD_SPEC @@ -991,7 +991,7 @@ ncrtn.o%s" #endif #ifndef CPP_OS_OPENBSD_SPEC -#define CPP_OS_OPENBSD_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" +#define CPP_OS_OPENBSD_SPEC OBSD_CPP_SPEC #endif /* WindISS support. */ |