[Asterisk-code-review] BuildSystem: Avoid re-defining of pthread * on NetBSD. (asterisk[15])

Alexander Traud asteriskteam at digium.com
Sat Mar 3 03:56:00 CST 2018


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/8408


Change subject: BuildSystem: Avoid re-defining of pthread_* on NetBSD.
......................................................................

BuildSystem: Avoid re-defining of pthread_* on NetBSD.

ASTERISK-27711

Change-Id: Idc9194035b2958b99f6b01eb5b438d45a074565b
---
M Makefile
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/08/8408/1

diff --git a/Makefile b/Makefile
index a11c8de..5d2d4a1 100644
--- a/Makefile
+++ b/Makefile
@@ -228,7 +228,7 @@
 endif
 
 ifeq ($(OSARCH),NetBSD)
-  _ASTCFLAGS+=-pthread -I/usr/pkg/include
+  _ASTCFLAGS+=-pthread -D__LIBPTHREAD_SOURCE__ -I/usr/pkg/include
 endif
 
 ifeq ($(OSARCH),OpenBSD)

-- 
To view, visit https://gerrit.asterisk.org/8408
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc9194035b2958b99f6b01eb5b438d45a074565b
Gerrit-Change-Number: 8408
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180303/9e6f3ea0/attachment.html>


More information about the asterisk-code-review mailing list