[Asterisk-code-review] BuildSystem: Avoid re-defining of pthread * on NetBSD. (asterisk[15])
Jenkins2
asteriskteam at digium.com
Mon Mar 5 11:32:22 CST 2018
Jenkins2 has submitted this change and it was merged. ( 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(-)
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/8408
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: Idc9194035b2958b99f6b01eb5b438d45a074565b
Gerrit-Change-Number: 8408
Gerrit-PatchSet: 1
Gerrit-Owner: 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/27b0d682/attachment.html>
More information about the asterisk-code-review
mailing list