[Asterisk-code-review] BuildSystem: Avoid re-defining of pthread * on NetBSD. (asterisk[master])
Alexander Traud
asteriskteam at digium.com
Sat Mar 3 03:56:07 CST 2018
Alexander Traud has uploaded this change for review. ( 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(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/06/8406/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/8406
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc9194035b2958b99f6b01eb5b438d45a074565b
Gerrit-Change-Number: 8406
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/0e245244/attachment.html>
More information about the asterisk-code-review
mailing list