From e47f603bff623f42e49f56386f9c9640389edb44 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Sun, 13 Jul 2003 19:16:34 +0000 Subject: Relevant BUGIDs: 643360 Purpose of commit: bugfix Commit summary: --------------- Use the value of $(PIC) whenever we're compiling dynamic libs/modules; this is required on most architectures. --- Make.Rules.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Make.Rules.in') diff --git a/Make.Rules.in b/Make.Rules.in index e42c965b..2aab9bf9 100644 --- a/Make.Rules.in +++ b/Make.Rules.in @@ -109,3 +109,7 @@ STRIP=@STRIP@ CC_STATIC=@CC_STATIC@ LINKLIBS = $(NEED_LINK_LIB_C) $(LIBDL) + +ifdef DYNAMIC +CFLAGS += $(PIC) +endif -- cgit v1.2.3