From 6ec28c9f98f89d11a23375918d6785e52420f2b8 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Thu, 5 May 2005 12:43:04 +0000 Subject: [PATCH] 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 --- funcs/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/funcs/Makefile b/funcs/Makefile index a5228f60c0..c0be125741 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: