[Asterisk-code-review] BuildSystem: Avoid re-defining of pthread * on NetBSD. (asterisk[13])
Alexander Traud
asteriskteam at digium.com
Sat Mar 3 03:55:49 CST 2018
Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/8407
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/07/8407/1
diff --git a/Makefile b/Makefile
index f24e8b1..a206c33 100644
--- a/Makefile
+++ b/Makefile
@@ -229,7 +229,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/8407
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc9194035b2958b99f6b01eb5b438d45a074565b
Gerrit-Change-Number: 8407
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/60d65984/attachment.html>
More information about the asterisk-code-review
mailing list