summaryrefslogtreecommitdiffstats
path: root/gnu/gcc
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2012-08-24 18:51:41 +0000
committerkettenis <kettenis@openbsd.org>2012-08-24 18:51:41 +0000
commite195684ac2d97a5cfebca7afcd38a1381abdf37d (patch)
tree85c67bf48caefbcb0265a7709423235ed04400a2 /gnu/gcc
parentWhen an smtp session fails and IMSG_QUEUE_REMOVE_MESSAGE is sent to the (diff)
downloadwireguard-openbsd-e195684ac2d97a5cfebca7afcd38a1381abdf37d.tar.xz
wireguard-openbsd-e195684ac2d97a5cfebca7afcd38a1381abdf37d.zip
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/gcc')
-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}}}"