diff options
author | 2012-08-31 17:22:50 +0000 | |
---|---|---|
committer | 2012-08-31 17:22:50 +0000 | |
commit | fe295c1a8acdf549c23e340d69aa0a5f5e46fe25 (patch) | |
tree | 89a10ba6aff222dd262a1af1890e22cca8908edc | |
parent | remove some compat junk; ok kettenis (diff) | |
download | wireguard-openbsd-fe295c1a8acdf549c23e340d69aa0a5f5e46fe25.tar.xz wireguard-openbsd-fe295c1a8acdf549c23e340d69aa0a5f5e46fe25.zip |
Sync vestigial in-tree GCC 3 specs with recent GCC 4 changes.
From Brad.
-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 |