From: Steve Langasek Date: Sun, 13 Jul 2003 19:16:34 +0000 (+0000) Subject: Relevant BUGIDs: 643360 X-Git-Tag: Linux-PAM-0-78-Beta1~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e47f603bff623f42e49f56386f9c9640389edb44;p=linux-pam 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. --- 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