summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2012-08-31 17:22:51 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2012-08-31 17:22:51 +0000
commit2261280cad68db444ab2befdc7854e72f320eaa9 (patch)
tree4a70516782879b0c5c580480402c781bb250ffef /gnu/usr.bin
parentda0501d1e832896e872b7c2de851098c2e0c2983 (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.h2
-rw-r--r--gnu/usr.bin/gcc/gcc/config/rs6000/sysv4.h2
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