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

Jenkins2 asteriskteam at digium.com
Mon Mar 5 11:29:45 CST 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/8406 )

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(-)

Approvals:
  Corey Farrell: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



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/8406
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Idc9194035b2958b99f6b01eb5b438d45a074565b
Gerrit-Change-Number: 8406
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180305/fc6b0d2d/attachment-0001.html>


More information about the asterisk-code-review mailing list