mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-21 12:30:41 +00:00
issue #4678
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -36,6 +36,7 @@ WAV49 = -DWAV49
|
||||
######### which support MMX instructions. This should be newer pentiums,
|
||||
######### ppro's, etc, as well as the AMD K6 and K7. The compile will
|
||||
######### probably require gcc.
|
||||
PROC=$(shell uname -m)
|
||||
|
||||
ifneq (${OSARCH},Darwin)
|
||||
ifneq (${OSARCH},SunOS)
|
||||
@@ -90,7 +91,11 @@ PG =
|
||||
# CCFLAGS = -c -O
|
||||
|
||||
CC ?= gcc
|
||||
CCFLAGS += -c -DNeedFunctionPrototypes=1 -funroll-loops -fPIC $(OPTIMIZE)
|
||||
CCFLAGS += -c -DNeedFunctionPrototypes=1 -funroll-loops $(OPTIMIZE)
|
||||
ifneq ($(findstring CYGWIN,${OSARCH}),CYGWIN)
|
||||
CCFLAGS += -fPIC
|
||||
endif
|
||||
|
||||
|
||||
LD = $(CC)
|
||||
|
||||
|
Reference in New Issue
Block a user