mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
correct build on platforms that require PIC objects (bug #4179)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -21,6 +21,8 @@ FUNCS+=$(STANDALONE_FUNCS:.o=.so)
|
|||||||
|
|
||||||
FUNC_STRUCTS=$(shell grep 'struct ast_custom_function' $(BUILTINS:.o=.c) | awk '{print $$3};')
|
FUNC_STRUCTS=$(shell grep 'struct ast_custom_function' $(BUILTINS:.o=.c) | awk '{print $$3};')
|
||||||
|
|
||||||
|
CFLAGS+=-fPIC
|
||||||
|
|
||||||
all: $(FUNCS)
|
all: $(FUNCS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Reference in New Issue
Block a user