aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-28 21:06:29 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-28 21:06:29 +0000
commit9116ef0db45a5da262d36babf17b448d01b48d08 (patch)
tree4c609c076cd1ca1cc538eaab3cae552b4dbc2f99 /channels/h323/Makefile
parentbef23020c3ac994428fcfc9daaf2c226424a9d7b (diff)
OpenBSD portability to H323
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2806 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/Makefile')
-rwxr-xr-xchannels/h323/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/channels/h323/Makefile b/channels/h323/Makefile
index 7bfd7122e..56cd61974 100755
--- a/channels/h323/Makefile
+++ b/channels/h323/Makefile
@@ -39,7 +39,10 @@ CFLAGS += -march=$(shell uname -m) -DPBYTE_ORDER=PLITTLE_ENDIAN
# Pre Janus release directives
CFLAGS += -DNDEBUG -DDO_CRASH -DDEBUG_THREADS
CFLAGS += -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations
-CFLAGS += -DP_LINUX -D_REENTRANT -D_GNU_SOURCE
+ifeq (${OSARCH},Linux)
+CFLAGS += -DP_LINUX
+endif
+CFLAGS += -D_REENTRANT -D_GNU_SOURCE
CFLAGS += -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS
CFLAGS += -DPHAS_TEMPLATES -DPTRACING -DP_USE_PRAGMA
CFLAGS += -I../../include