diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2012-08-31 17:22:51 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2012-08-31 17:22:51 +0000 |
commit | 2261280cad68db444ab2befdc7854e72f320eaa9 (patch) | |
tree | 4a70516782879b0c5c580480402c781bb250ffef /gnu/usr.bin | |
parent | da0501d1e832896e872b7c2de851098c2e0c2983 (diff) |
Sync vestigial in-tree GCC 3 specs with recent GCC 4 changes.
From Brad.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/openbsd-libpthread.h | 2 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/rs6000/sysv4.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/openbsd-libpthread.h b/gnu/usr.bin/gcc/gcc/config/openbsd-libpthread.h index 28b731c6891..535200ce240 100644 --- a/gnu/usr.bin/gcc/gcc/config/openbsd-libpthread.h +++ b/gnu/usr.bin/gcc/gcc/config/openbsd-libpthread.h @@ -19,5 +19,5 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define OBSD_LIB_SPEC "%{pthread:-lpthread%{!shared:%{p|pg:_p}}} -lc%{!shared:%{p|pg:_p}}" +#define OBSD_LIB_SPEC "%{pthread:-lpthread%{!shared:%{p|pg:_p}}} %{!shared:-lc%{p:_p}%{!p:%{pg:_p}}}" diff --git a/gnu/usr.bin/gcc/gcc/config/rs6000/sysv4.h b/gnu/usr.bin/gcc/gcc/config/rs6000/sysv4.h index 653466acffb..aeea7519790 100644 --- a/gnu/usr.bin/gcc/gcc/config/rs6000/sysv4.h +++ b/gnu/usr.bin/gcc/gcc/config/rs6000/sysv4.h @@ -1264,7 +1264,7 @@ ncrtn.o%s" #endif #ifndef LIBC_OPENBSD_SPEC -#define LIBC_OPENBSD_SPEC "%{!shared:%{pthread:-lpthread%{p:_p}%{!p:%{pg:_p}}}} %{!shared:-lc%{p:_p}%{!p:%{pg:_p}}}" +#define LIBC_OPENBSD_SPEC OBSD_LIB_SPEC #endif #ifndef STARTFILE_OPENBSD_SPEC |