correct build on platforms that require PIC objects (bug #4179)
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 5 May 2005 12:43:04 +0000 (12:43 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 5 May 2005 12:43:04 +0000 (12:43 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5586 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/Makefile

index a5228f6..c0be125 100755 (executable)
@@ -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: