summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-05-05 12:43:04 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-05-05 12:43:04 +0000
commit6ec28c9f98f89d11a23375918d6785e52420f2b8 (patch)
treeeaab8abcc8227d5fa9e5e9095204c40d739d79ed /funcs
parent59bc293d15f8d9ba7ecd8c6e7373260aa101a755 (diff)
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
Diffstat (limited to 'funcs')
-rwxr-xr-xfuncs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/funcs/Makefile b/funcs/Makefile
index a5228f60c..c0be12574 100755
--- a/funcs/Makefile
+++ b/funcs/Makefile
@@ -21,6 +21,8 @@ FUNCS+=$(STANDALONE_FUNCS:.o=.so)
FUNC_STRUCTS=$(shell grep 'struct ast_custom_function' $(BUILTINS:.o=.c) | awk '{print $$3};')
+CFLAGS+=-fPIC
+
all: $(FUNCS)
clean: