aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-05 12:43:04 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-05 12:43:04 +0000
commit6fa82b10b283c668beb5e936318980d294e66b4b (patch)
treeeaab8abcc8227d5fa9e5e9095204c40d739d79ed /funcs
parent1a2c87a2bad90f2c5f9c486eeadaa2a2b9a501d9 (diff)
correct build on platforms that require PIC objects (bug #4179)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5586 f38db490-d61c-443f-a65b-d21fe96a405b
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: