summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-08-24 18:51:42 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-08-24 18:51:42 +0000
commita42dbbd45480913a9245dcead6802c5c92ba66f8 (patch)
tree53a9867922b222cec9a22f0f5fc2372b3c20e5e6 /gnu
parentbc0dda43eb756e9813a26b4df9cb6613f6c2bc09 (diff)
Back out the bit that links all shared libraries against -lc from the previous
commit. It breaks make build on arm and generally causes more grief than the the (small) benefit it is supposed to bring. ok matthew@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/gcc/gcc/config/openbsd-libpthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/gcc/gcc/config/openbsd-libpthread.h b/gnu/gcc/gcc/config/openbsd-libpthread.h
index 28b731c6891..535200ce240 100644
--- a/gnu/gcc/gcc/config/openbsd-libpthread.h
+++ b/gnu/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}}}"