Don't hard-code -lgcc_s on NetBSD.

This commit is contained in:
joerg 2017-04-27 17:04:56 +00:00
parent c98e582d08
commit eef95582f4
2 changed files with 15 additions and 1 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.1 2017/03/14 13:12:28 wiz Exp $
$NetBSD: distinfo,v 1.2 2017/04/27 17:04:56 joerg Exp $
SHA1 (leveldb-1.20.tar.gz) = df11440c30deed5987263730180225db98de9f57
RMD160 (leveldb-1.20.tar.gz) = 9cc7db3d8c80e11659bafe02e3efe7a03f98369d
SHA512 (leveldb-1.20.tar.gz) = c59258f2f58ce2d5680e9ab3da4ab0923d91cd4648dcf63cdaa26cdde92bf45e094544539ad11d8e09a4a4813435286143ed0e86c21c6c31a0596903ed4744d2
Size (leveldb-1.20.tar.gz) = 223141 bytes
SHA1 (patch-aa) = 66a727ab380538bf01f4d472cdad0eeccddff544
SHA1 (patch-build__detect__platform) = 6e1b8d93b3c5ae6d521222fa0c53375fb528a08a

View file

@ -0,0 +1,13 @@
$NetBSD: patch-build__detect__platform,v 1.1 2017/04/27 17:04:56 joerg Exp $
--- build_detect_platform.orig 2017-04-22 23:02:04.756517625 +0000
+++ build_detect_platform
@@ -113,7 +113,7 @@ case "$TARGET_OS" in
NetBSD)
PLATFORM=OS_NETBSD
COMMON_FLAGS="$MEMCMP_FLAG -D_REENTRANT -DOS_NETBSD"
- PLATFORM_LIBS="-lpthread -lgcc_s"
+ PLATFORM_LIBS="-lpthread"
PORT_FILE=port/port_posix.cc
PORT_SSE_FILE=port/port_posix_sse.cc
;;