mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
rollback to pre-janus, for the moment
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -26,14 +26,25 @@ CFLAGS += -march=$(shell uname -m) -DPBYTE_ORDER=PLITTLE_ENDIAN
|
||||
#
|
||||
# Only change below if you know WTF your doing
|
||||
#
|
||||
OSARCH=$(shell uname -s)
|
||||
CFLAGS += -DNDEBUG -DDO_CRASH -DDEBUG_THREADS
|
||||
CFLAGS += -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations
|
||||
CFLAGS += -D_REENTRANT -D_GNU_SOURCE
|
||||
CFLAGS += -I../../include
|
||||
CFLAGS += -I$(PWLIBDIR)/include
|
||||
CFLAGS += -I$(OPENH323DIR)/include -Wno-missing-prototypes -Wno-missing-declarations
|
||||
#
|
||||
# Janus release directives, comment below if your brave enough for Janus
|
||||
#OSARCH=$(shell uname -s)
|
||||
#CFLAGS += -DNDEBUG -DDO_CRASH -DDEBUG_THREADS
|
||||
#CFLAGS += -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations
|
||||
#CFLAGS += -D_REENTRANT -D_GNU_SOURCE
|
||||
#CFLAGS += -I../../include
|
||||
#CFLAGS += -I$(PWLIBDIR)/include
|
||||
#CFLAGS += -I$(OPENH323DIR)/include -Wno-missing-prototypes -Wno-missing-declarations
|
||||
|
||||
# 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
|
||||
CFLAGS += -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS
|
||||
CFLAGS += -DPHAS_TEMPLATES -DPTRACING -DP_USE_PRAGMA
|
||||
CFLAGS += -I../../include
|
||||
CFLAGS += -I$(PWLIBDIR)/include/ptlib/unix -I$(PWLIBDIR)/include
|
||||
CFLAGS += -I$(OPENH323DIR)/include -Wno-missing-prototypes -Wno-missing-declarations
|
||||
|
||||
all: libchanh323.a
|
||||
|
||||
|
Reference in New Issue
Block a user